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 SummaryNested Classes Modifier and Type Class Description static classJavaArtifact.Builder
 - 
Constructor SummaryConstructors 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 SummaryAll 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- 
builderpublic static JavaArtifact.Builder builder() Create a new builder.
 - 
toBuilderpublic JavaArtifact.Builder toBuilder() 
 - 
getArtifactIdpublic Long getArtifactId() Unique identifier for the artifact.- Returns:
- the value
 
 - 
getArtifactDescriptionpublic String getArtifactDescription() Description of the binary artifact.Typically includes the OS, architecture, and installer type. - Returns:
- the value
 
 - 
getArtifactContentTypepublic ArtifactContentType getArtifactContentType() Product content type of this artifact.- Returns:
- the value
 
 - 
getApproximateFileSizeInBytespublic Long getApproximateFileSizeInBytes() Approximate compressed file size in bytes.- Returns:
- the value
 
 - 
getSha256public String getSha256() SHA256 checksum of the artifact.- Returns:
- the value
 
 - 
getArtifactFileNamepublic String getArtifactFileName() The file name of the artifact.- Returns:
- the value
 
 - 
getOsFamilypublic String getOsFamily() The target Operating System family for the artifact.- Returns:
- the value
 
 - 
getArchitecturepublic String getArchitecture() The target Operating System architecture for the artifact.- Returns:
- the value
 
 - 
getPackageTypepublic String getPackageType() The package type(typically the file extension) of the artifact.- Returns:
- the value
 
 - 
getPackageTypeDetailpublic String getPackageTypeDetail() Additional information about the package type.- Returns:
- the value
 
 - 
getDownloadUrlpublic 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
 
 - 
getScriptDownloadUrlpublic 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
 
 - 
getScriptChecksumUrlpublic 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
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-