Interface UpdateImageStorageClassResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateImageStorageClassResponse.Builder,,UpdateImageStorageClassResponse> EcrResponse.Builder,SdkBuilder<UpdateImageStorageClassResponse.Builder,,UpdateImageStorageClassResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateImageStorageClassResponse
@Mutable
@NotThreadSafe
public static interface UpdateImageStorageClassResponse.Builder
extends EcrResponse.Builder, SdkPojo, CopyableBuilder<UpdateImageStorageClassResponse.Builder,UpdateImageStorageClassResponse>
-
Method Summary
Modifier and TypeMethodDescriptionimageId(Consumer<ImageIdentifier.Builder> imageId) Sets the value of the ImageId property for this object.imageId(ImageIdentifier imageId) Sets the value of the ImageId property for this object.imageStatus(String imageStatus) The current status of the image after the call to UpdateImageStorageClass is complete.imageStatus(ImageStatus imageStatus) The current status of the image after the call to UpdateImageStorageClass is complete.registryId(String registryId) The registry ID associated with the request.repositoryName(String repositoryName) The repository name associated with the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
registryId
The registry ID associated with the request.
- Parameters:
registryId- The registry ID associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
The repository name associated with the request.
- Parameters:
repositoryName- The repository name associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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:
-
imageStatus
The current status of the image after the call to UpdateImageStorageClass is complete. Valid values are
ACTIVE,ARCHIVED, andACTIVATING.- Parameters:
imageStatus- The current status of the image after the call to UpdateImageStorageClass is complete. Valid values areACTIVE,ARCHIVED, andACTIVATING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageStatus
The current status of the image after the call to UpdateImageStorageClass is complete. Valid values are
ACTIVE,ARCHIVED, andACTIVATING.- Parameters:
imageStatus- The current status of the image after the call to UpdateImageStorageClass is complete. Valid values areACTIVE,ARCHIVED, andACTIVATING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-