Interface DescribePullThroughCacheRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribePullThroughCacheRulesResponse.Builder,
,DescribePullThroughCacheRulesResponse> EcrResponse.Builder
,SdkBuilder<DescribePullThroughCacheRulesResponse.Builder,
,DescribePullThroughCacheRulesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribePullThroughCacheRulesResponse
public static interface DescribePullThroughCacheRulesResponse.Builder
extends EcrResponse.Builder, SdkPojo, CopyableBuilder<DescribePullThroughCacheRulesResponse.Builder,DescribePullThroughCacheRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThenextToken
value to include in a futureDescribePullThroughCacheRulesRequest
request.pullThroughCacheRules
(Collection<PullThroughCacheRule> pullThroughCacheRules) The details of the pull through cache rules.pullThroughCacheRules
(Consumer<PullThroughCacheRule.Builder>... pullThroughCacheRules) The details of the pull through cache rules.pullThroughCacheRules
(PullThroughCacheRule... pullThroughCacheRules) The details of the pull through cache rules.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
-
pullThroughCacheRules
DescribePullThroughCacheRulesResponse.Builder pullThroughCacheRules(Collection<PullThroughCacheRule> pullThroughCacheRules) The details of the pull through cache rules.
- Parameters:
pullThroughCacheRules
- The details of the pull through cache rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullThroughCacheRules
DescribePullThroughCacheRulesResponse.Builder pullThroughCacheRules(PullThroughCacheRule... pullThroughCacheRules) The details of the pull through cache rules.
- Parameters:
pullThroughCacheRules
- The details of the pull through cache rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullThroughCacheRules
DescribePullThroughCacheRulesResponse.Builder pullThroughCacheRules(Consumer<PullThroughCacheRule.Builder>... pullThroughCacheRules) The details of the pull through cache rules.
This is a convenience method that creates an instance of thePullThroughCacheRule.Builder
avoiding the need to create one manually viaPullThroughCacheRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topullThroughCacheRules(List<PullThroughCacheRule>)
.- Parameters:
pullThroughCacheRules
- a consumer that will call methods onPullThroughCacheRule.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 futureDescribePullThroughCacheRulesRequest
request. When the results of aDescribePullThroughCacheRulesRequest
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 futureDescribePullThroughCacheRulesRequest
request. When the results of aDescribePullThroughCacheRulesRequest
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.
-