Interface StartImageScanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartImageScanResponse.Builder,,StartImageScanResponse> EcrResponse.Builder,SdkBuilder<StartImageScanResponse.Builder,,StartImageScanResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartImageScanResponse
public static interface StartImageScanResponse.Builder
extends EcrResponse.Builder, SdkPojo, CopyableBuilder<StartImageScanResponse.Builder,StartImageScanResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StartImageScanResponse.BuilderimageId(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.default StartImageScanResponse.BuilderimageScanStatus(Consumer<ImageScanStatus.Builder> imageScanStatus) The current state of the scan.imageScanStatus(ImageScanStatus imageScanStatus) The current state of the scan.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, 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:
-
imageScanStatus
The current state of the scan.
- Parameters:
imageScanStatus- The current state of the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageScanStatus
default StartImageScanResponse.Builder imageScanStatus(Consumer<ImageScanStatus.Builder> imageScanStatus) The current state of the scan.
This is a convenience method that creates an instance of theImageScanStatus.Builderavoiding the need to create one manually viaImageScanStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimageScanStatus(ImageScanStatus).- Parameters:
imageScanStatus- a consumer that will call methods onImageScanStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-