@Generated(value="software.amazon.awssdk:codegen") public final class UpdateImagePipelineRequest extends ImagebuilderRequest implements ToCopyableBuilder<UpdateImagePipelineRequest.Builder,UpdateImagePipelineRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateImagePipelineRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateImagePipelineRequest.Builder |
builder() |
String |
clientToken()
The idempotency token used to make this request idempotent.
|
String |
containerRecipeArn()
The Amazon Resource Name (ARN) of the container pipeline to update.
|
String |
description()
The description of the image pipeline.
|
String |
distributionConfigurationArn()
The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute
images updated by this image 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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
imagePipelineArn()
The Amazon Resource Name (ARN) of the image pipeline that you want to update.
|
String |
imageRecipeArn()
The Amazon Resource Name (ARN) of the image recipe that will be used to configure images updated by this image
pipeline.
|
ImageTestsConfiguration |
imageTestsConfiguration()
The image test configuration of the image pipeline.
|
String |
infrastructureConfigurationArn()
The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images updated by
this image pipeline.
|
Schedule |
schedule()
The schedule of the image pipeline.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateImagePipelineRequest.Builder> |
serializableBuilderClass() |
PipelineStatus |
status()
The status of the image pipeline.
|
String |
statusAsString()
The status of the image pipeline.
|
UpdateImagePipelineRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
copy
public final String imagePipelineArn()
The Amazon Resource Name (ARN) of the image pipeline that you want to update.
public final String description()
The description of the image pipeline.
public final String imageRecipeArn()
The Amazon Resource Name (ARN) of the image recipe that will be used to configure images updated by this image pipeline.
public final String containerRecipeArn()
The Amazon Resource Name (ARN) of the container pipeline to update.
public final String infrastructureConfigurationArn()
The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images updated by this image pipeline.
public final String distributionConfigurationArn()
The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute images updated by this image pipeline.
public final ImageTestsConfiguration imageTestsConfiguration()
The image test configuration of the image pipeline.
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 Schedule schedule()
The schedule of the image pipeline.
public final PipelineStatus status()
The status of the image pipeline.
If the service returns an enum value that is not available in the current SDK version, status
will
return PipelineStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
PipelineStatus
public final String statusAsString()
The status of the image pipeline.
If the service returns an enum value that is not available in the current SDK version, status
will
return PipelineStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
PipelineStatus
public final String clientToken()
The idempotency token used to make this request idempotent.
public UpdateImagePipelineRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateImagePipelineRequest.Builder,UpdateImagePipelineRequest>
toBuilder
in class ImagebuilderRequest
public static UpdateImagePipelineRequest.Builder builder()
public static Class<? extends UpdateImagePipelineRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.