Package com.oracle.bmc.jms.model
Class JavaArtifact
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.jms.model.JavaArtifact
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210610") public final class JavaArtifact extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelInformation about a binary artifact of Java.
Note: Objects should always be created or deserialized using theJavaArtifact.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theJavaArtifact.Builder, which maintain a set of all explicitly set fields calledJavaArtifact.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJavaArtifact.Builder
-
Constructor Summary
Constructors Constructor Description JavaArtifact(Long artifactId, String artifactDescription, ArtifactContentType artifactContentType, Long approximateFileSizeInBytes, String sha256, String artifactFileName, String osFamily, String architecture, String packageType, String packageTypeDetail, String downloadUrl, String scriptDownloadUrl, String scriptChecksumUrl)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JavaArtifact.Builderbuilder()Create a new builder.booleanequals(Object o)LonggetApproximateFileSizeInBytes()Approximate compressed file size in bytes.StringgetArchitecture()The target Operating System architecture for the artifact.ArtifactContentTypegetArtifactContentType()Product content type of this artifact.StringgetArtifactDescription()Description of the binary artifact.StringgetArtifactFileName()The file name of the artifact.LonggetArtifactId()Unique identifier for the artifact.StringgetDownloadUrl()The endpoint that returns a short-lived artifact download URL in the response payload.StringgetOsFamily()The target Operating System family for the artifact.StringgetPackageType()The package type(typically the file extension) of the artifact.StringgetPackageTypeDetail()Additional information about the package type.StringgetScriptChecksumUrl()The URL for retrieving the checksum for the artifact.StringgetScriptDownloadUrl()The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles.StringgetSha256()SHA256 checksum of the artifact.inthashCode()JavaArtifact.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
JavaArtifact
@Deprecated @ConstructorProperties({"artifactId","artifactDescription","artifactContentType","approximateFileSizeInBytes","sha256","artifactFileName","osFamily","architecture","packageType","packageTypeDetail","downloadUrl","scriptDownloadUrl","scriptChecksumUrl"}) public JavaArtifact(Long artifactId, String artifactDescription, ArtifactContentType artifactContentType, Long approximateFileSizeInBytes, String sha256, String artifactFileName, String osFamily, String architecture, String packageType, String packageTypeDetail, String downloadUrl, String scriptDownloadUrl, String scriptChecksumUrl)
Deprecated.
-
-
Method Detail
-
builder
public static JavaArtifact.Builder builder()
Create a new builder.
-
toBuilder
public JavaArtifact.Builder toBuilder()
-
getArtifactId
public Long getArtifactId()
Unique identifier for the artifact.- Returns:
- the value
-
getArtifactDescription
public String getArtifactDescription()
Description of the binary artifact.Typically includes the OS, architecture, and installer type.
- Returns:
- the value
-
getArtifactContentType
public ArtifactContentType getArtifactContentType()
Product content type of this artifact.- Returns:
- the value
-
getApproximateFileSizeInBytes
public Long getApproximateFileSizeInBytes()
Approximate compressed file size in bytes.- Returns:
- the value
-
getSha256
public String getSha256()
SHA256 checksum of the artifact.- Returns:
- the value
-
getArtifactFileName
public String getArtifactFileName()
The file name of the artifact.- Returns:
- the value
-
getOsFamily
public String getOsFamily()
The target Operating System family for the artifact.- Returns:
- the value
-
getArchitecture
public String getArchitecture()
The target Operating System architecture for the artifact.- Returns:
- the value
-
getPackageType
public String getPackageType()
The package type(typically the file extension) of the artifact.- Returns:
- the value
-
getPackageTypeDetail
public String getPackageTypeDetail()
Additional information about the package type.- Returns:
- the value
-
getDownloadUrl
public String getDownloadUrl()
The endpoint that returns a short-lived artifact download URL in the response payload.This download url can then be used for downloading the artifact. See this API for more details.
- Returns:
- the value
-
getScriptDownloadUrl
public String getScriptDownloadUrl()
The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles.Depending on the context, this can point to the archive or latest update release version artifact in the specified family.
- Returns:
- the value
-
getScriptChecksumUrl
public String getScriptChecksumUrl()
The URL for retrieving the checksum for the artifact.Depending on the context, this can point to the checksum of the archive or latest update release version artifact.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-