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 TypeMethodDescriptionThenextTokenvalue to include in a futureDescribePullThroughCacheRulesRequestrequest.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
copyMethods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaPullThroughCacheRule.builder().When the
Consumercompletes,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
nextTokenvalue to include in a futureDescribePullThroughCacheRulesRequestrequest. When the results of aDescribePullThroughCacheRulesRequestrequest 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- ThenextTokenvalue to include in a futureDescribePullThroughCacheRulesRequestrequest. When the results of aDescribePullThroughCacheRulesRequestrequest 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.
-