Package com.oracle.bmc.devops.model
Class OcirDeployArtifactSource
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.devops.model.DeployArtifactSource
-
- com.oracle.bmc.devops.model.OcirDeployArtifactSource
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class OcirDeployArtifactSource extends DeployArtifactSourceSpecifies the OCIR details.
Note: Objects should always be created or deserialized using theOcirDeployArtifactSource.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 theOcirDeployArtifactSource.Builder, which maintain a set of all explicitly set fields calledOcirDeployArtifactSource.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 classOcirDeployArtifactSource.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.devops.model.DeployArtifactSource
DeployArtifactSource.DeployArtifactSourceType
-
-
Constructor Summary
Constructors Constructor Description OcirDeployArtifactSource(String imageUri, String imageDigest)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OcirDeployArtifactSource.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetImageDigest()Specifies image digest for the version of the image.StringgetImageUri()Specifies OCIR image path - optionally include tag.inthashCode()OcirDeployArtifactSource.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OcirDeployArtifactSource
@Deprecated public OcirDeployArtifactSource(String imageUri, String imageDigest)
Deprecated.
-
-
Method Detail
-
builder
public static OcirDeployArtifactSource.Builder builder()
Create a new builder.
-
toBuilder
public OcirDeployArtifactSource.Builder toBuilder()
-
getImageUri
public String getImageUri()
Specifies OCIR image path - optionally include tag.- Returns:
- the value
-
getImageDigest
public String getImageDigest()
Specifies image digest for the version of the image.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classDeployArtifactSource
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classDeployArtifactSource- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDeployArtifactSource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDeployArtifactSource
-
-