@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageRecipe extends Object implements Serializable, Cloneable, StructuredPojo
An image recipe.
| Constructor and Description |
|---|
ImageRecipe() |
| Modifier and Type | Method and Description |
|---|---|
ImageRecipe |
addTagsEntry(String key,
String value) |
ImageRecipe |
clearTagsEntries()
Removes all the entries added into Tags.
|
ImageRecipe |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the image recipe.
|
List<InstanceBlockDeviceMapping> |
getBlockDeviceMappings()
The block device mappings to apply when creating images from this recipe.
|
List<ComponentConfiguration> |
getComponents()
The components of the image recipe.
|
String |
getDateCreated()
The date on which this image recipe was created.
|
String |
getDescription()
The description of the image recipe.
|
String |
getName()
The name of the image recipe.
|
String |
getOwner()
The owner of the image recipe.
|
String |
getParentImage()
The parent image of the image recipe.
|
String |
getPlatform()
The platform of the image recipe.
|
Map<String,String> |
getTags()
The tags of the image recipe.
|
String |
getVersion()
The version of the image recipe.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the image recipe.
|
void |
setBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
The block device mappings to apply when creating images from this recipe.
|
void |
setComponents(Collection<ComponentConfiguration> components)
The components of the image recipe.
|
void |
setDateCreated(String dateCreated)
The date on which this image recipe was created.
|
void |
setDescription(String description)
The description of the image recipe.
|
void |
setName(String name)
The name of the image recipe.
|
void |
setOwner(String owner)
The owner of the image recipe.
|
void |
setParentImage(String parentImage)
The parent image of the image recipe.
|
void |
setPlatform(String platform)
The platform of the image recipe.
|
void |
setTags(Map<String,String> tags)
The tags of the image recipe.
|
void |
setVersion(String version)
The version of the image recipe.
|
String |
toString()
Returns a string representation of this object.
|
ImageRecipe |
withArn(String arn)
The Amazon Resource Name (ARN) of the image recipe.
|
ImageRecipe |
withBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
The block device mappings to apply when creating images from this recipe.
|
ImageRecipe |
withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
The block device mappings to apply when creating images from this recipe.
|
ImageRecipe |
withComponents(Collection<ComponentConfiguration> components)
The components of the image recipe.
|
ImageRecipe |
withComponents(ComponentConfiguration... components)
The components of the image recipe.
|
ImageRecipe |
withDateCreated(String dateCreated)
The date on which this image recipe was created.
|
ImageRecipe |
withDescription(String description)
The description of the image recipe.
|
ImageRecipe |
withName(String name)
The name of the image recipe.
|
ImageRecipe |
withOwner(String owner)
The owner of the image recipe.
|
ImageRecipe |
withParentImage(String parentImage)
The parent image of the image recipe.
|
ImageRecipe |
withPlatform(Platform platform)
The platform of the image recipe.
|
ImageRecipe |
withPlatform(String platform)
The platform of the image recipe.
|
ImageRecipe |
withTags(Map<String,String> tags)
The tags of the image recipe.
|
ImageRecipe |
withVersion(String version)
The version of the image recipe.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the image recipe.
arn - The Amazon Resource Name (ARN) of the image recipe.public String getArn()
The Amazon Resource Name (ARN) of the image recipe.
public ImageRecipe withArn(String arn)
The Amazon Resource Name (ARN) of the image recipe.
arn - The Amazon Resource Name (ARN) of the image recipe.public void setName(String name)
The name of the image recipe.
name - The name of the image recipe.public String getName()
The name of the image recipe.
public ImageRecipe withName(String name)
The name of the image recipe.
name - The name of the image recipe.public void setDescription(String description)
The description of the image recipe.
description - The description of the image recipe.public String getDescription()
The description of the image recipe.
public ImageRecipe withDescription(String description)
The description of the image recipe.
description - The description of the image recipe.public void setPlatform(String platform)
The platform of the image recipe.
platform - The platform of the image recipe.Platformpublic String getPlatform()
The platform of the image recipe.
Platformpublic ImageRecipe withPlatform(String platform)
The platform of the image recipe.
platform - The platform of the image recipe.Platformpublic ImageRecipe withPlatform(Platform platform)
The platform of the image recipe.
platform - The platform of the image recipe.Platformpublic void setOwner(String owner)
The owner of the image recipe.
owner - The owner of the image recipe.public String getOwner()
The owner of the image recipe.
public ImageRecipe withOwner(String owner)
The owner of the image recipe.
owner - The owner of the image recipe.public void setVersion(String version)
The version of the image recipe.
version - The version of the image recipe.public String getVersion()
The version of the image recipe.
public ImageRecipe withVersion(String version)
The version of the image recipe.
version - The version of the image recipe.public List<ComponentConfiguration> getComponents()
The components of the image recipe.
public void setComponents(Collection<ComponentConfiguration> components)
The components of the image recipe.
components - The components of the image recipe.public ImageRecipe withComponents(ComponentConfiguration... components)
The components of the image recipe.
NOTE: This method appends the values to the existing list (if any). Use
setComponents(java.util.Collection) or withComponents(java.util.Collection) if you want to
override the existing values.
components - The components of the image recipe.public ImageRecipe withComponents(Collection<ComponentConfiguration> components)
The components of the image recipe.
components - The components of the image recipe.public void setParentImage(String parentImage)
The parent image of the image recipe.
parentImage - The parent image of the image recipe.public String getParentImage()
The parent image of the image recipe.
public ImageRecipe withParentImage(String parentImage)
The parent image of the image recipe.
parentImage - The parent image of the image recipe.public List<InstanceBlockDeviceMapping> getBlockDeviceMappings()
The block device mappings to apply when creating images from this recipe.
public void setBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
The block device mappings to apply when creating images from this recipe.
blockDeviceMappings - The block device mappings to apply when creating images from this recipe.public ImageRecipe withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
The block device mappings to apply when creating images from this recipe.
NOTE: This method appends the values to the existing list (if any). Use
setBlockDeviceMappings(java.util.Collection) or withBlockDeviceMappings(java.util.Collection)
if you want to override the existing values.
blockDeviceMappings - The block device mappings to apply when creating images from this recipe.public ImageRecipe withBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
The block device mappings to apply when creating images from this recipe.
blockDeviceMappings - The block device mappings to apply when creating images from this recipe.public void setDateCreated(String dateCreated)
The date on which this image recipe was created.
dateCreated - The date on which this image recipe was created.public String getDateCreated()
The date on which this image recipe was created.
public ImageRecipe withDateCreated(String dateCreated)
The date on which this image recipe was created.
dateCreated - The date on which this image recipe was created.public Map<String,String> getTags()
The tags of the image recipe.
public void setTags(Map<String,String> tags)
The tags of the image recipe.
tags - The tags of the image recipe.public ImageRecipe withTags(Map<String,String> tags)
The tags of the image recipe.
tags - The tags of the image recipe.public ImageRecipe addTagsEntry(String key, String value)
public ImageRecipe clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public ImageRecipe clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.