Interface DescribePullThroughCacheRulesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribePullThroughCacheRulesRequest.Builder,
,DescribePullThroughCacheRulesRequest> EcrRequest.Builder
,SdkBuilder<DescribePullThroughCacheRulesRequest.Builder,
,DescribePullThroughCacheRulesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribePullThroughCacheRulesRequest
-
Method Summary
Modifier and TypeMethodDescriptionecrRepositoryPrefixes
(String... ecrRepositoryPrefixes) The Amazon ECR repository prefixes associated with the pull through cache rules to return.ecrRepositoryPrefixes
(Collection<String> ecrRepositoryPrefixes) The Amazon ECR repository prefixes associated with the pull through cache rules to return.maxResults
(Integer maxResults) The maximum number of pull through cache rules returned byDescribePullThroughCacheRulesRequest
in paginated output.ThenextToken
value returned from a previous paginatedDescribePullThroughCacheRulesRequest
request wheremaxResults
was used and 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 associated with the registry to return the pull through cache rules for.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, sdkFields
-
Method Details
-
registryId
The Amazon Web Services account ID associated with the registry to return the pull through cache rules 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 to return the pull through cache rules 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.
-
ecrRepositoryPrefixes
DescribePullThroughCacheRulesRequest.Builder ecrRepositoryPrefixes(Collection<String> ecrRepositoryPrefixes) The Amazon ECR repository prefixes associated with the pull through cache rules to return. If no repository prefix value is specified, all pull through cache rules are returned.
- Parameters:
ecrRepositoryPrefixes
- The Amazon ECR repository prefixes associated with the pull through cache rules to return. If no repository prefix value is specified, all pull through cache rules are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecrRepositoryPrefixes
The Amazon ECR repository prefixes associated with the pull through cache rules to return. If no repository prefix value is specified, all pull through cache rules are returned.
- Parameters:
ecrRepositoryPrefixes
- The Amazon ECR repository prefixes associated with the pull through cache rules to return. If no repository prefix value is specified, all pull through cache rules are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
nextToken
value returned from a previous paginatedDescribePullThroughCacheRulesRequest
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value. This value is null when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value returned from a previous paginatedDescribePullThroughCacheRulesRequest
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value. 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
The maximum number of pull through cache rules returned by
DescribePullThroughCacheRulesRequest
in paginated output. When this parameter is used,DescribePullThroughCacheRulesRequest
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherDescribePullThroughCacheRulesRequest
request with the returnednextToken
value. This value can be between 1 and 1000. If this parameter is not used, thenDescribePullThroughCacheRulesRequest
returns up to 100 results and anextToken
value, if applicable.- Parameters:
maxResults
- The maximum number of pull through cache rules returned byDescribePullThroughCacheRulesRequest
in paginated output. When this parameter is used,DescribePullThroughCacheRulesRequest
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherDescribePullThroughCacheRulesRequest
request with the returnednextToken
value. This value can be between 1 and 1000. If this parameter is not used, thenDescribePullThroughCacheRulesRequest
returns up to 100 results and anextToken
value, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribePullThroughCacheRulesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribePullThroughCacheRulesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-