public static class JavaArtifact.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JavaArtifact.Builder |
approximateFileSizeInBytes(Long approximateFileSizeInBytes)
Approximate compressed file size in bytes.
|
JavaArtifact.Builder |
artifactContentType(ArtifactContentType artifactContentType)
Product content type of this artifact.
|
JavaArtifact.Builder |
artifactDescription(String artifactDescription)
Description of the binary artifact.
|
JavaArtifact.Builder |
artifactId(Long artifactId)
Unique identifier for the artifact.
|
JavaArtifact |
build() |
JavaArtifact.Builder |
copy(JavaArtifact model) |
JavaArtifact.Builder |
sha256(String sha256)
SHA256 checksum of the artifact.
|
public JavaArtifact.Builder artifactId(Long artifactId)
Unique identifier for the artifact.
artifactId
- the value to setpublic JavaArtifact.Builder artifactDescription(String artifactDescription)
Description of the binary artifact. Typically includes the OS, architecture, and installer type.
artifactDescription
- the value to setpublic JavaArtifact.Builder artifactContentType(ArtifactContentType artifactContentType)
Product content type of this artifact.
artifactContentType
- the value to setpublic JavaArtifact.Builder approximateFileSizeInBytes(Long approximateFileSizeInBytes)
Approximate compressed file size in bytes.
approximateFileSizeInBytes
- the value to setpublic JavaArtifact.Builder sha256(String sha256)
SHA256 checksum of the artifact.
sha256
- the value to setpublic JavaArtifact build()
public JavaArtifact.Builder copy(JavaArtifact model)
Copyright © 2016–2023. All rights reserved.