Interface UpdateImageStorageClassRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateImageStorageClassRequest.Builder,UpdateImageStorageClassRequest>,EcrRequest.Builder,SdkBuilder<UpdateImageStorageClassRequest.Builder,UpdateImageStorageClassRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateImageStorageClassRequest
@Mutable @NotThreadSafe public static interface UpdateImageStorageClassRequest.Builder extends EcrRequest.Builder, SdkPojo, CopyableBuilder<UpdateImageStorageClassRequest.Builder,UpdateImageStorageClassRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
registryId
UpdateImageStorageClassRequest.Builder registryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the image to transition. If you do not specify a registry, the default registry is assumed.
- Parameters:
registryId- The Amazon Web Services account ID associated with the registry that contains the image to transition. If you do not specify a registry, the default registry is assumed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
UpdateImageStorageClassRequest.Builder repositoryName(String repositoryName)
The name of the repository that contains the image to transition.
- Parameters:
repositoryName- The name of the repository that contains the image to transition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
UpdateImageStorageClassRequest.Builder imageId(ImageIdentifier imageId)
Sets the value of the ImageId property for this object.- Parameters:
imageId- The new value for the ImageId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
default UpdateImageStorageClassRequest.Builder imageId(Consumer<ImageIdentifier.Builder> imageId)
Sets the value of the ImageId property for this object. This is a convenience method that creates an instance of theImageIdentifier.Builderavoiding the need to create one manually viaImageIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimageId(ImageIdentifier).- Parameters:
imageId- a consumer that will call methods onImageIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
imageId(ImageIdentifier)
-
targetStorageClass
UpdateImageStorageClassRequest.Builder targetStorageClass(String targetStorageClass)
The target storage class for the image.
- Parameters:
targetStorageClass- The target storage class for the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetStorageClass,TargetStorageClass
-
targetStorageClass
UpdateImageStorageClassRequest.Builder targetStorageClass(TargetStorageClass targetStorageClass)
The target storage class for the image.
- Parameters:
targetStorageClass- The target storage class for the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetStorageClass,TargetStorageClass
-
overrideConfiguration
UpdateImageStorageClassRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateImageStorageClassRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-