@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateImageRecipeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateImageRecipeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateImageRecipeRequest |
addTagsEntry(String key,
String value) |
CreateImageRecipeRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateImageRecipeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<InstanceBlockDeviceMapping> |
getBlockDeviceMappings()
The block device mappings of the image recipe.
|
String |
getClientToken()
The idempotency token used to make this request idempotent.
|
List<ComponentConfiguration> |
getComponents()
The components of the image recipe.
|
String |
getDescription()
The description of the image recipe.
|
String |
getName()
The name of the image recipe.
|
String |
getParentImage()
The parent image of the image recipe.
|
String |
getSemanticVersion()
The semantic version of the image recipe.
|
Map<String,String> |
getTags()
The tags of the image recipe.
|
int |
hashCode() |
void |
setBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
The block device mappings of the image recipe.
|
void |
setClientToken(String clientToken)
The idempotency token used to make this request idempotent.
|
void |
setComponents(Collection<ComponentConfiguration> components)
The components of the image recipe.
|
void |
setDescription(String description)
The description of the image recipe.
|
void |
setName(String name)
The name of the image recipe.
|
void |
setParentImage(String parentImage)
The parent image of the image recipe.
|
void |
setSemanticVersion(String semanticVersion)
The semantic version of the image recipe.
|
void |
setTags(Map<String,String> tags)
The tags of the image recipe.
|
String |
toString()
Returns a string representation of this object.
|
CreateImageRecipeRequest |
withBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
The block device mappings of the image recipe.
|
CreateImageRecipeRequest |
withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
The block device mappings of the image recipe.
|
CreateImageRecipeRequest |
withClientToken(String clientToken)
The idempotency token used to make this request idempotent.
|
CreateImageRecipeRequest |
withComponents(Collection<ComponentConfiguration> components)
The components of the image recipe.
|
CreateImageRecipeRequest |
withComponents(ComponentConfiguration... components)
The components of the image recipe.
|
CreateImageRecipeRequest |
withDescription(String description)
The description of the image recipe.
|
CreateImageRecipeRequest |
withName(String name)
The name of the image recipe.
|
CreateImageRecipeRequest |
withParentImage(String parentImage)
The parent image of the image recipe.
|
CreateImageRecipeRequest |
withSemanticVersion(String semanticVersion)
The semantic version of the image recipe.
|
CreateImageRecipeRequest |
withTags(Map<String,String> tags)
The tags of the image recipe.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 CreateImageRecipeRequest 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 CreateImageRecipeRequest withDescription(String description)
The description of the image recipe.
description
- The description of the image recipe.public void setSemanticVersion(String semanticVersion)
The semantic version of the image recipe.
semanticVersion
- The semantic version of the image recipe.public String getSemanticVersion()
The semantic version of the image recipe.
public CreateImageRecipeRequest withSemanticVersion(String semanticVersion)
The semantic version of the image recipe.
semanticVersion
- The semantic 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 CreateImageRecipeRequest 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 CreateImageRecipeRequest 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 CreateImageRecipeRequest 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 of the image recipe.
public void setBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
The block device mappings of the image recipe.
blockDeviceMappings
- The block device mappings of the image recipe.public CreateImageRecipeRequest withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
The block device mappings of the image 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 of the image recipe.public CreateImageRecipeRequest withBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
The block device mappings of the image recipe.
blockDeviceMappings
- The block device mappings of the image recipe.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 CreateImageRecipeRequest withTags(Map<String,String> tags)
The tags of the image recipe.
tags
- The tags of the image recipe.public CreateImageRecipeRequest addTagsEntry(String key, String value)
public CreateImageRecipeRequest clearTagsEntries()
public void setClientToken(String clientToken)
The idempotency token used to make this request idempotent.
clientToken
- The idempotency token used to make this request idempotent.public String getClientToken()
The idempotency token used to make this request idempotent.
public CreateImageRecipeRequest withClientToken(String clientToken)
The idempotency token used to make this request idempotent.
clientToken
- The idempotency token used to make this request idempotent.public String toString()
toString
in class Object
Object.toString()
public CreateImageRecipeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.