@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageVersion extends Object implements Serializable, Cloneable, StructuredPojo
An image semantic version.
| Constructor and Description |
|---|
ImageVersion() |
| Modifier and Type | Method and Description |
|---|---|
ImageVersion |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the image semantic version.
|
String |
getDateCreated()
The date at which this image semantic version was created.
|
String |
getName()
The name of the image semantic version.
|
String |
getOsVersion()
The operating system version of the instance.
|
String |
getOwner()
The owner of the image semantic version.
|
String |
getPlatform()
The platform of the image semantic version.
|
String |
getType()
Specifies whether this is an AMI or container image.
|
String |
getVersion()
The semantic version of the image semantic version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the image semantic version.
|
void |
setDateCreated(String dateCreated)
The date at which this image semantic version was created.
|
void |
setName(String name)
The name of the image semantic version.
|
void |
setOsVersion(String osVersion)
The operating system version of the instance.
|
void |
setOwner(String owner)
The owner of the image semantic version.
|
void |
setPlatform(String platform)
The platform of the image semantic version.
|
void |
setType(String type)
Specifies whether this is an AMI or container image.
|
void |
setVersion(String version)
The semantic version of the image semantic version.
|
String |
toString()
Returns a string representation of this object.
|
ImageVersion |
withArn(String arn)
The Amazon Resource Name (ARN) of the image semantic version.
|
ImageVersion |
withDateCreated(String dateCreated)
The date at which this image semantic version was created.
|
ImageVersion |
withName(String name)
The name of the image semantic version.
|
ImageVersion |
withOsVersion(String osVersion)
The operating system version of the instance.
|
ImageVersion |
withOwner(String owner)
The owner of the image semantic version.
|
ImageVersion |
withPlatform(Platform platform)
The platform of the image semantic version.
|
ImageVersion |
withPlatform(String platform)
The platform of the image semantic version.
|
ImageVersion |
withType(ImageType type)
Specifies whether this is an AMI or container image.
|
ImageVersion |
withType(String type)
Specifies whether this is an AMI or container image.
|
ImageVersion |
withVersion(String version)
The semantic version of the image semantic version.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the image semantic version.
arn - The Amazon Resource Name (ARN) of the image semantic version.public String getArn()
The Amazon Resource Name (ARN) of the image semantic version.
public ImageVersion withArn(String arn)
The Amazon Resource Name (ARN) of the image semantic version.
arn - The Amazon Resource Name (ARN) of the image semantic version.public void setName(String name)
The name of the image semantic version.
name - The name of the image semantic version.public String getName()
The name of the image semantic version.
public ImageVersion withName(String name)
The name of the image semantic version.
name - The name of the image semantic version.public void setType(String type)
Specifies whether this is an AMI or container image.
type - Specifies whether this is an AMI or container image.ImageTypepublic String getType()
Specifies whether this is an AMI or container image.
ImageTypepublic ImageVersion withType(String type)
Specifies whether this is an AMI or container image.
type - Specifies whether this is an AMI or container image.ImageTypepublic ImageVersion withType(ImageType type)
Specifies whether this is an AMI or container image.
type - Specifies whether this is an AMI or container image.ImageTypepublic void setVersion(String version)
The semantic version of the image semantic version.
version - The semantic version of the image semantic version.public String getVersion()
The semantic version of the image semantic version.
public ImageVersion withVersion(String version)
The semantic version of the image semantic version.
version - The semantic version of the image semantic version.public void setPlatform(String platform)
The platform of the image semantic version.
platform - The platform of the image semantic version.Platformpublic String getPlatform()
The platform of the image semantic version.
Platformpublic ImageVersion withPlatform(String platform)
The platform of the image semantic version.
platform - The platform of the image semantic version.Platformpublic ImageVersion withPlatform(Platform platform)
The platform of the image semantic version.
platform - The platform of the image semantic version.Platformpublic void setOsVersion(String osVersion)
The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
osVersion - The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows
Server 2019.public String getOsVersion()
The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
public ImageVersion withOsVersion(String osVersion)
The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
osVersion - The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows
Server 2019.public void setOwner(String owner)
The owner of the image semantic version.
owner - The owner of the image semantic version.public String getOwner()
The owner of the image semantic version.
public ImageVersion withOwner(String owner)
The owner of the image semantic version.
owner - The owner of the image semantic version.public void setDateCreated(String dateCreated)
The date at which this image semantic version was created.
dateCreated - The date at which this image semantic version was created.public String getDateCreated()
The date at which this image semantic version was created.
public ImageVersion withDateCreated(String dateCreated)
The date at which this image semantic version was created.
dateCreated - The date at which this image semantic version was created.public String toString()
toString in class ObjectObject.toString()public ImageVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.