Interface PutImageScanningConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<PutImageScanningConfigurationResponse.Builder,
,PutImageScanningConfigurationResponse> EcrResponse.Builder
,SdkBuilder<PutImageScanningConfigurationResponse.Builder,
,PutImageScanningConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutImageScanningConfigurationResponse
public static interface PutImageScanningConfigurationResponse.Builder
extends EcrResponse.Builder, SdkPojo, CopyableBuilder<PutImageScanningConfigurationResponse.Builder,PutImageScanningConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionimageScanningConfiguration
(Consumer<ImageScanningConfiguration.Builder> imageScanningConfiguration) The image scanning configuration setting for the repository.imageScanningConfiguration
(ImageScanningConfiguration imageScanningConfiguration) The image scanning configuration setting for the repository.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
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
-
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.
-
imageScanningConfiguration
PutImageScanningConfigurationResponse.Builder imageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration) The image scanning configuration setting for the repository.
- Parameters:
imageScanningConfiguration
- The image scanning configuration setting for the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageScanningConfiguration
default PutImageScanningConfigurationResponse.Builder imageScanningConfiguration(Consumer<ImageScanningConfiguration.Builder> imageScanningConfiguration) The image scanning configuration setting for the repository.
This is a convenience method that creates an instance of theImageScanningConfiguration.Builder
avoiding the need to create one manually viaImageScanningConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageScanningConfiguration(ImageScanningConfiguration)
.- Parameters:
imageScanningConfiguration
- a consumer that will call methods onImageScanningConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-