@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateImageRequest() |
Modifier and Type | Method and Description |
---|---|
CreateImageRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateImageRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateImageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
The idempotency token used to make this request idempotent.
|
String |
getContainerRecipeArn()
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
|
String |
getDistributionConfigurationArn()
The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your
pipeline.
|
Boolean |
getEnhancedImageMetadataEnabled()
Collects additional information about the image being created, including the operating system (OS) version and
package list.
|
String |
getImageRecipeArn()
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
|
ImageTestsConfiguration |
getImageTestsConfiguration()
The image tests configuration of the image.
|
String |
getInfrastructureConfigurationArn()
The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your
image will be built and tested.
|
Map<String,String> |
getTags()
The tags of the image.
|
int |
hashCode() |
Boolean |
isEnhancedImageMetadataEnabled()
Collects additional information about the image being created, including the operating system (OS) version and
package list.
|
void |
setClientToken(String clientToken)
The idempotency token used to make this request idempotent.
|
void |
setContainerRecipeArn(String containerRecipeArn)
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
|
void |
setDistributionConfigurationArn(String distributionConfigurationArn)
The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your
pipeline.
|
void |
setEnhancedImageMetadataEnabled(Boolean enhancedImageMetadataEnabled)
Collects additional information about the image being created, including the operating system (OS) version and
package list.
|
void |
setImageRecipeArn(String imageRecipeArn)
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
|
void |
setImageTestsConfiguration(ImageTestsConfiguration imageTestsConfiguration)
The image tests configuration of the image.
|
void |
setInfrastructureConfigurationArn(String infrastructureConfigurationArn)
The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your
image will be built and tested.
|
void |
setTags(Map<String,String> tags)
The tags of the image.
|
String |
toString()
Returns a string representation of this object.
|
CreateImageRequest |
withClientToken(String clientToken)
The idempotency token used to make this request idempotent.
|
CreateImageRequest |
withContainerRecipeArn(String containerRecipeArn)
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
|
CreateImageRequest |
withDistributionConfigurationArn(String distributionConfigurationArn)
The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your
pipeline.
|
CreateImageRequest |
withEnhancedImageMetadataEnabled(Boolean enhancedImageMetadataEnabled)
Collects additional information about the image being created, including the operating system (OS) version and
package list.
|
CreateImageRequest |
withImageRecipeArn(String imageRecipeArn)
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
|
CreateImageRequest |
withImageTestsConfiguration(ImageTestsConfiguration imageTestsConfiguration)
The image tests configuration of the image.
|
CreateImageRequest |
withInfrastructureConfigurationArn(String infrastructureConfigurationArn)
The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your
image will be built and tested.
|
CreateImageRequest |
withTags(Map<String,String> tags)
The tags of the image.
|
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 setImageRecipeArn(String imageRecipeArn)
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
imageRecipeArn
- The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and
assessed.public String getImageRecipeArn()
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
public CreateImageRequest withImageRecipeArn(String imageRecipeArn)
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
imageRecipeArn
- The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and
assessed.public void setContainerRecipeArn(String containerRecipeArn)
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
containerRecipeArn
- The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.public String getContainerRecipeArn()
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
public CreateImageRequest withContainerRecipeArn(String containerRecipeArn)
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
containerRecipeArn
- The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.public void setDistributionConfigurationArn(String distributionConfigurationArn)
The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
distributionConfigurationArn
- The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs
of your pipeline.public String getDistributionConfigurationArn()
The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
public CreateImageRequest withDistributionConfigurationArn(String distributionConfigurationArn)
The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
distributionConfigurationArn
- The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs
of your pipeline.public void setInfrastructureConfigurationArn(String infrastructureConfigurationArn)
The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.
infrastructureConfigurationArn
- The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which
your image will be built and tested.public String getInfrastructureConfigurationArn()
The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.
public CreateImageRequest withInfrastructureConfigurationArn(String infrastructureConfigurationArn)
The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.
infrastructureConfigurationArn
- The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which
your image will be built and tested.public void setImageTestsConfiguration(ImageTestsConfiguration imageTestsConfiguration)
The image tests configuration of the image.
imageTestsConfiguration
- The image tests configuration of the image.public ImageTestsConfiguration getImageTestsConfiguration()
The image tests configuration of the image.
public CreateImageRequest withImageTestsConfiguration(ImageTestsConfiguration imageTestsConfiguration)
The image tests configuration of the image.
imageTestsConfiguration
- The image tests configuration of the image.public void setEnhancedImageMetadataEnabled(Boolean enhancedImageMetadataEnabled)
Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
enhancedImageMetadataEnabled
- Collects additional information about the image being created, including the operating system (OS) version
and package list. This information is used to enhance the overall experience of using EC2 Image Builder.
Enabled by default.public Boolean getEnhancedImageMetadataEnabled()
Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
public CreateImageRequest withEnhancedImageMetadataEnabled(Boolean enhancedImageMetadataEnabled)
Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
enhancedImageMetadataEnabled
- Collects additional information about the image being created, including the operating system (OS) version
and package list. This information is used to enhance the overall experience of using EC2 Image Builder.
Enabled by default.public Boolean isEnhancedImageMetadataEnabled()
Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
public void setTags(Map<String,String> tags)
The tags of the image.
tags
- The tags of the image.public CreateImageRequest withTags(Map<String,String> tags)
The tags of the image.
tags
- The tags of the image.public CreateImageRequest addTagsEntry(String key, String value)
public CreateImageRequest 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 CreateImageRequest 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 CreateImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()