Interface DescribeImageReplicationStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeImageReplicationStatusResponse.Builder,
,DescribeImageReplicationStatusResponse> EcrResponse.Builder
,SdkBuilder<DescribeImageReplicationStatusResponse.Builder,
,DescribeImageReplicationStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeImageReplicationStatusResponse
public static interface DescribeImageReplicationStatusResponse.Builder
extends EcrResponse.Builder, SdkPojo, CopyableBuilder<DescribeImageReplicationStatusResponse.Builder,DescribeImageReplicationStatusResponse>
-
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.replicationStatuses
(Collection<ImageReplicationStatus> replicationStatuses) The replication status details for the images in the specified repository.replicationStatuses
(Consumer<ImageReplicationStatus.Builder>... replicationStatuses) The replication status details for the images in the specified repository.replicationStatuses
(ImageReplicationStatus... replicationStatuses) The replication status details for the images in the specified repository.repositoryName
(String repositoryName) The repository name associated with the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
default DescribeImageReplicationStatusResponse.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.Builder
avoiding the need to create one manually viaImageIdentifier.builder()
.When the
Consumer
completes,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:
-
replicationStatuses
DescribeImageReplicationStatusResponse.Builder replicationStatuses(Collection<ImageReplicationStatus> replicationStatuses) The replication status details for the images in the specified repository.
- Parameters:
replicationStatuses
- The replication status details for the images in the specified repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationStatuses
DescribeImageReplicationStatusResponse.Builder replicationStatuses(ImageReplicationStatus... replicationStatuses) The replication status details for the images in the specified repository.
- Parameters:
replicationStatuses
- The replication status details for the images in the specified repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationStatuses
DescribeImageReplicationStatusResponse.Builder replicationStatuses(Consumer<ImageReplicationStatus.Builder>... replicationStatuses) The replication status details for the images in the specified repository.
This is a convenience method that creates an instance of theImageReplicationStatus.Builder
avoiding the need to create one manually viaImageReplicationStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicationStatuses(List<ImageReplicationStatus>)
.- Parameters:
replicationStatuses
- a consumer that will call methods onImageReplicationStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-