Interface DescribeImageScanFindingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeImageScanFindingsRequest.Builder,,DescribeImageScanFindingsRequest> EcrPublicRequest.Builder,SdkBuilder<DescribeImageScanFindingsRequest.Builder,,DescribeImageScanFindingsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeImageScanFindingsRequest
-
Method Summary
Modifier and TypeMethodDescriptionimageId(Consumer<ImageIdentifier.Builder> imageId) The image ID of the image to describe scan findings for.imageId(ImageIdentifier imageId) The image ID of the image to describe scan findings for.maxResults(Integer maxResults) The maximum number of results thatDescribeImageScanFindingsreturns in paginated output.ThenextTokenvalue that's returned from a previous paginatedDescribeImageScanFindingsrequest where you usedmaxResultsand the results exceeded the value of that parameter.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.registryId(String registryId) The Amazon Web Services account ID that's associated with the public registry that contains the repository where the image is.repositoryName(String repositoryName) The repository that contains the image to describe scan findings for.repositoryType(String repositoryType) The type of the repository.repositoryType(RepositoryType repositoryType) The type of the repository.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecrpublic.model.EcrPublicRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
registryId
The Amazon Web Services account ID that's associated with the public registry that contains the repository where the image is. If you do not specify a registry, the default public registry is assumed. You can specify only your own account ID. Cross-account access through a repository policy isn't supported for this operation.
- Parameters:
registryId- The Amazon Web Services account ID that's associated with the public registry that contains the repository where the image is. If you do not specify a registry, the default public registry is assumed. You can specify only your own account ID. Cross-account access through a repository policy isn't supported for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
The repository that contains the image to describe scan findings for.
- Parameters:
repositoryName- The repository that contains the image to describe scan findings for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryType
The type of the repository. Currently, image scanning is supported only for premium repositories, so you must specify
PREMIUM. If you don't specify a type, Amazon ECR usesFREE, and the request fails withValidationException.- Parameters:
repositoryType- The type of the repository. Currently, image scanning is supported only for premium repositories, so you must specifyPREMIUM. If you don't specify a type, Amazon ECR usesFREE, and the request fails withValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
repositoryType
The type of the repository. Currently, image scanning is supported only for premium repositories, so you must specify
PREMIUM. If you don't specify a type, Amazon ECR usesFREE, and the request fails withValidationException.- Parameters:
repositoryType- The type of the repository. Currently, image scanning is supported only for premium repositories, so you must specifyPREMIUM. If you don't specify a type, Amazon ECR usesFREE, and the request fails withValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageId
The image ID of the image to describe scan findings for.
- Parameters:
imageId- The image ID of the image to describe scan findings for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
The image ID of the image to describe scan findings for.
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:
-
nextToken
The
nextTokenvalue that's returned from a previous paginatedDescribeImageScanFindingsrequest where you usedmaxResultsand the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. If there are no more results to return, this value isnull.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken- ThenextTokenvalue that's returned from a previous paginatedDescribeImageScanFindingsrequest where you usedmaxResultsand the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. If there are no more results to return, this value isnull.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results that
DescribeImageScanFindingsreturns in paginated output. When you use this parameter,DescribeImageScanFindingsreturns onlymaxResultsresults in a single page along with anextTokenresponse element. To see the remaining results, send anotherDescribeImageScanFindingsrequest with the returnednextTokenvalue. You can specify a value between 1 and 100. If you don't use this parameter,DescribeImageScanFindingsreturns up to 100 results and anextTokenvalue, if applicable.- Parameters:
maxResults- The maximum number of results thatDescribeImageScanFindingsreturns in paginated output. When you use this parameter,DescribeImageScanFindingsreturns onlymaxResultsresults in a single page along with anextTokenresponse element. To see the remaining results, send anotherDescribeImageScanFindingsrequest with the returnednextTokenvalue. You can specify a value between 1 and 100. If you don't use this parameter,DescribeImageScanFindingsreturns 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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeImageScanFindingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-