Interface DescribeImageScanFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeImageScanFindingsResponse.Builder,
,DescribeImageScanFindingsResponse> EcrResponse.Builder
,SdkBuilder<DescribeImageScanFindingsResponse.Builder,
,DescribeImageScanFindingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeImageScanFindingsResponse
-
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.imageScanFindings
(Consumer<ImageScanFindings.Builder> imageScanFindings) The information contained in the image scan findings.imageScanFindings
(ImageScanFindings imageScanFindings) The information contained in the image scan findings.imageScanStatus
(Consumer<ImageScanStatus.Builder> imageScanStatus) The current state of the scan.imageScanStatus
(ImageScanStatus imageScanStatus) The current state of the scan.ThenextToken
value to include in a futureDescribeImageScanFindings
request.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.
-
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 DescribeImageScanFindingsResponse.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:
-
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 DescribeImageScanFindingsResponse.Builder imageScanStatus(Consumer<ImageScanStatus.Builder> imageScanStatus) The current state of the scan.
This is a convenience method that creates an instance of theImageScanStatus.Builder
avoiding the need to create one manually viaImageScanStatus.builder()
.When the
Consumer
completes,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:
-
imageScanFindings
The information contained in the image scan findings.
- Parameters:
imageScanFindings
- The information contained in the image scan findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageScanFindings
default DescribeImageScanFindingsResponse.Builder imageScanFindings(Consumer<ImageScanFindings.Builder> imageScanFindings) The information contained in the image scan findings.
This is a convenience method that creates an instance of theImageScanFindings.Builder
avoiding the need to create one manually viaImageScanFindings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageScanFindings(ImageScanFindings)
.- Parameters:
imageScanFindings
- a consumer that will call methods onImageScanFindings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextToken
value to include in a futureDescribeImageScanFindings
request. When the results of aDescribeImageScanFindings
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureDescribeImageScanFindings
request. When the results of aDescribeImageScanFindings
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-