@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageSummary extends Object implements Serializable, Cloneable, StructuredPojo
An image summary.
| Constructor and Description |
|---|
ImageSummary() |
| Modifier and Type | Method and Description |
|---|---|
ImageSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ImageSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
ImageSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the image.
|
String |
getDateCreated()
The date on which this image was created.
|
String |
getName()
The name of the image.
|
String |
getOsVersion()
The operating system version of the instance.
|
OutputResources |
getOutputResources()
The output resources produced when creating this image.
|
String |
getOwner()
The owner of the image.
|
String |
getPlatform()
The platform of the image.
|
ImageState |
getState()
The state of the image.
|
Map<String,String> |
getTags()
The tags of the image.
|
String |
getVersion()
The version of the image.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the image.
|
void |
setDateCreated(String dateCreated)
The date on which this image was created.
|
void |
setName(String name)
The name of the image.
|
void |
setOsVersion(String osVersion)
The operating system version of the instance.
|
void |
setOutputResources(OutputResources outputResources)
The output resources produced when creating this image.
|
void |
setOwner(String owner)
The owner of the image.
|
void |
setPlatform(String platform)
The platform of the image.
|
void |
setState(ImageState state)
The state of the image.
|
void |
setTags(Map<String,String> tags)
The tags of the image.
|
void |
setVersion(String version)
The version of the image.
|
String |
toString()
Returns a string representation of this object.
|
ImageSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the image.
|
ImageSummary |
withDateCreated(String dateCreated)
The date on which this image was created.
|
ImageSummary |
withName(String name)
The name of the image.
|
ImageSummary |
withOsVersion(String osVersion)
The operating system version of the instance.
|
ImageSummary |
withOutputResources(OutputResources outputResources)
The output resources produced when creating this image.
|
ImageSummary |
withOwner(String owner)
The owner of the image.
|
ImageSummary |
withPlatform(Platform platform)
The platform of the image.
|
ImageSummary |
withPlatform(String platform)
The platform of the image.
|
ImageSummary |
withState(ImageState state)
The state of the image.
|
ImageSummary |
withTags(Map<String,String> tags)
The tags of the image.
|
ImageSummary |
withVersion(String version)
The version of the image.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the image.
arn - The Amazon Resource Name (ARN) of the image.public String getArn()
The Amazon Resource Name (ARN) of the image.
public ImageSummary withArn(String arn)
The Amazon Resource Name (ARN) of the image.
arn - The Amazon Resource Name (ARN) of the image.public void setName(String name)
The name of the image.
name - The name of the image.public String getName()
The name of the image.
public ImageSummary withName(String name)
The name of the image.
name - The name of the image.public void setVersion(String version)
The version of the image.
version - The version of the image.public String getVersion()
The version of the image.
public ImageSummary withVersion(String version)
The version of the image.
version - The version of the image.public void setPlatform(String platform)
The platform of the image.
platform - The platform of the image.Platformpublic String getPlatform()
The platform of the image.
Platformpublic ImageSummary withPlatform(String platform)
The platform of the image.
platform - The platform of the image.Platformpublic ImageSummary withPlatform(Platform platform)
The platform of the image.
platform - The platform of the image.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 ImageSummary 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 setState(ImageState state)
The state of the image.
state - The state of the image.public ImageState getState()
The state of the image.
public ImageSummary withState(ImageState state)
The state of the image.
state - The state of the image.public void setOwner(String owner)
The owner of the image.
owner - The owner of the image.public String getOwner()
The owner of the image.
public ImageSummary withOwner(String owner)
The owner of the image.
owner - The owner of the image.public void setDateCreated(String dateCreated)
The date on which this image was created.
dateCreated - The date on which this image was created.public String getDateCreated()
The date on which this image was created.
public ImageSummary withDateCreated(String dateCreated)
The date on which this image was created.
dateCreated - The date on which this image was created.public void setOutputResources(OutputResources outputResources)
The output resources produced when creating this image.
outputResources - The output resources produced when creating this image.public OutputResources getOutputResources()
The output resources produced when creating this image.
public ImageSummary withOutputResources(OutputResources outputResources)
The output resources produced when creating this image.
outputResources - The output resources produced when creating this image.public void setTags(Map<String,String> tags)
The tags of the image.
tags - The tags of the image.public ImageSummary withTags(Map<String,String> tags)
The tags of the image.
tags - The tags of the image.public ImageSummary addTagsEntry(String key, String value)
public ImageSummary clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public ImageSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.