Interface DescribeImageScanFindingsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeImageScanFindingsRequest.Builder,DescribeImageScanFindingsRequest>,EcrRequest.Builder,SdkBuilder<DescribeImageScanFindingsRequest.Builder,DescribeImageScanFindingsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeImageScanFindingsRequest
public static interface DescribeImageScanFindingsRequest.Builder extends EcrRequest.Builder, SdkPojo, CopyableBuilder<DescribeImageScanFindingsRequest.Builder,DescribeImageScanFindingsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeImageScanFindingsRequest.BuilderimageId(Consumer<ImageIdentifier.Builder> imageId)Sets the value of the ImageId property for this object.DescribeImageScanFindingsRequest.BuilderimageId(ImageIdentifier imageId)Sets the value of the ImageId property for this object.DescribeImageScanFindingsRequest.BuildermaxResults(Integer maxResults)The maximum number of image scan results returned byDescribeImageScanFindingsin paginated output.DescribeImageScanFindingsRequest.BuildernextToken(String nextToken)ThenextTokenvalue returned from a previous paginatedDescribeImageScanFindingsrequest wheremaxResultswas used and the results exceeded the value of that parameter.DescribeImageScanFindingsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeImageScanFindingsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DescribeImageScanFindingsRequest.BuilderregistryId(String registryId)The Amazon Web Services account ID associated with the registry that contains the repository in which to describe the image scan findings for.DescribeImageScanFindingsRequest.BuilderrepositoryName(String repositoryName)The repository for the image for which to describe the scan findings.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
registryId
DescribeImageScanFindingsRequest.Builder registryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository in which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.
- Parameters:
registryId- The Amazon Web Services account ID associated with the registry that contains the repository in which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
DescribeImageScanFindingsRequest.Builder repositoryName(String repositoryName)
The repository for the image for which to describe the scan findings.
- Parameters:
repositoryName- The repository for the image for which to describe the scan findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
DescribeImageScanFindingsRequest.Builder imageId(ImageIdentifier 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 DescribeImageScanFindingsRequest.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.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:
imageId(ImageIdentifier)
-
nextToken
DescribeImageScanFindingsRequest.Builder nextToken(String nextToken)
The
nextTokenvalue returned from a previous paginatedDescribeImageScanFindingsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value is null when there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginatedDescribeImageScanFindingsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. 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.
-
maxResults
DescribeImageScanFindingsRequest.Builder maxResults(Integer maxResults)
The maximum number of image scan results returned by
DescribeImageScanFindingsin paginated output. When this parameter is used,DescribeImageScanFindingsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeImageScanFindingsrequest with the returnednextTokenvalue. This value can be between 1 and 1000. If this parameter is not used, thenDescribeImageScanFindingsreturns up to 100 results and anextTokenvalue, if applicable.- Parameters:
maxResults- The maximum number of image scan results returned byDescribeImageScanFindingsin paginated output. When this parameter is used,DescribeImageScanFindingsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeImageScanFindingsrequest with the returnednextTokenvalue. This value can be between 1 and 1000. If this parameter is not used, thenDescribeImageScanFindingsreturns up to 100 results and anextTokenvalue, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeImageScanFindingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeImageScanFindingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-