@Generated(value="software.amazon.awssdk:codegen") public final class CreateImageRequest extends ImagebuilderRequest implements ToCopyableBuilder<CreateImageRequest.Builder,CreateImageRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateImageRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateImageRequest.Builder |
builder() |
String |
clientToken()
The idempotency token used to make this request idempotent.
|
String |
containerRecipeArn()
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
|
String |
distributionConfigurationArn()
The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your
pipeline.
|
Boolean |
enhancedImageMetadataEnabled()
Collects additional information about the image being created, including the operating system (OS) version and
package list.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
imageRecipeArn()
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
|
ImageTestsConfiguration |
imageTestsConfiguration()
The image tests configuration of the image.
|
String |
infrastructureConfigurationArn()
The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your
image will be built and tested.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateImageRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The tags of the image.
|
CreateImageRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String imageRecipeArn()
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
public final String containerRecipeArn()
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
public final String distributionConfigurationArn()
The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
public final String infrastructureConfigurationArn()
The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.
public final ImageTestsConfiguration imageTestsConfiguration()
The image tests configuration of the image.
public final 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.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
The tags of the image.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final String clientToken()
The idempotency token used to make this request idempotent.
public CreateImageRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateImageRequest.Builder,CreateImageRequest>toBuilder in class ImagebuilderRequestpublic static CreateImageRequest.Builder builder()
public static Class<? extends CreateImageRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.