@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageVersion extends Object implements Serializable, Cloneable, StructuredPojo
A version of a SageMaker Image
. A version represents an existing container image.
Constructor and Description |
---|
ImageVersion() |
Modifier and Type | Method and Description |
---|---|
ImageVersion |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
When the version was created.
|
String |
getFailureReason()
When a create or delete operation fails, the reason for the failure.
|
String |
getImageArn()
The ARN of the image the version is based on.
|
String |
getImageVersionArn()
The ARN of the version.
|
String |
getImageVersionStatus()
The status of the version.
|
Date |
getLastModifiedTime()
When the version was last modified.
|
Integer |
getVersion()
The version number.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
When the version was created.
|
void |
setFailureReason(String failureReason)
When a create or delete operation fails, the reason for the failure.
|
void |
setImageArn(String imageArn)
The ARN of the image the version is based on.
|
void |
setImageVersionArn(String imageVersionArn)
The ARN of the version.
|
void |
setImageVersionStatus(String imageVersionStatus)
The status of the version.
|
void |
setLastModifiedTime(Date lastModifiedTime)
When the version was last modified.
|
void |
setVersion(Integer version)
The version number.
|
String |
toString()
Returns a string representation of this object.
|
ImageVersion |
withCreationTime(Date creationTime)
When the version was created.
|
ImageVersion |
withFailureReason(String failureReason)
When a create or delete operation fails, the reason for the failure.
|
ImageVersion |
withImageArn(String imageArn)
The ARN of the image the version is based on.
|
ImageVersion |
withImageVersionArn(String imageVersionArn)
The ARN of the version.
|
ImageVersion |
withImageVersionStatus(ImageVersionStatus imageVersionStatus)
The status of the version.
|
ImageVersion |
withImageVersionStatus(String imageVersionStatus)
The status of the version.
|
ImageVersion |
withLastModifiedTime(Date lastModifiedTime)
When the version was last modified.
|
ImageVersion |
withVersion(Integer version)
The version number.
|
public void setCreationTime(Date creationTime)
When the version was created.
creationTime
- When the version was created.public Date getCreationTime()
When the version was created.
public ImageVersion withCreationTime(Date creationTime)
When the version was created.
creationTime
- When the version was created.public void setFailureReason(String failureReason)
When a create or delete operation fails, the reason for the failure.
failureReason
- When a create or delete operation fails, the reason for the failure.public String getFailureReason()
When a create or delete operation fails, the reason for the failure.
public ImageVersion withFailureReason(String failureReason)
When a create or delete operation fails, the reason for the failure.
failureReason
- When a create or delete operation fails, the reason for the failure.public void setImageArn(String imageArn)
The ARN of the image the version is based on.
imageArn
- The ARN of the image the version is based on.public String getImageArn()
The ARN of the image the version is based on.
public ImageVersion withImageArn(String imageArn)
The ARN of the image the version is based on.
imageArn
- The ARN of the image the version is based on.public void setImageVersionArn(String imageVersionArn)
The ARN of the version.
imageVersionArn
- The ARN of the version.public String getImageVersionArn()
The ARN of the version.
public ImageVersion withImageVersionArn(String imageVersionArn)
The ARN of the version.
imageVersionArn
- The ARN of the version.public void setImageVersionStatus(String imageVersionStatus)
The status of the version.
imageVersionStatus
- The status of the version.ImageVersionStatus
public String getImageVersionStatus()
The status of the version.
ImageVersionStatus
public ImageVersion withImageVersionStatus(String imageVersionStatus)
The status of the version.
imageVersionStatus
- The status of the version.ImageVersionStatus
public ImageVersion withImageVersionStatus(ImageVersionStatus imageVersionStatus)
The status of the version.
imageVersionStatus
- The status of the version.ImageVersionStatus
public void setLastModifiedTime(Date lastModifiedTime)
When the version was last modified.
lastModifiedTime
- When the version was last modified.public Date getLastModifiedTime()
When the version was last modified.
public ImageVersion withLastModifiedTime(Date lastModifiedTime)
When the version was last modified.
lastModifiedTime
- When the version was last modified.public void setVersion(Integer version)
The version number.
version
- The version number.public Integer getVersion()
The version number.
public ImageVersion withVersion(Integer version)
The version number.
version
- The version number.public String toString()
toString
in class Object
Object.toString()
public ImageVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.