@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 |
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 |
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 |
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 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.Platform
public String getPlatform()
The platform of the image semantic version.
Platform
public ImageVersion withPlatform(String platform)
The platform of the image semantic version.
platform
- The platform of the image semantic version.Platform
public ImageVersion withPlatform(Platform platform)
The platform of the image semantic version.
platform
- The platform of the image semantic version.Platform
public 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 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.