Interface GetCachePolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFrontRequest.Builder,CopyableBuilder<GetCachePolicyRequest.Builder,GetCachePolicyRequest>,SdkBuilder<GetCachePolicyRequest.Builder,GetCachePolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetCachePolicyRequest
public static interface GetCachePolicyRequest.Builder extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<GetCachePolicyRequest.Builder,GetCachePolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCachePolicyRequest.Builderid(String id)The unique identifier for the cache policy.GetCachePolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetCachePolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
GetCachePolicyRequest.Builder id(String id)
The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using
ListDistributionsorGetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier usingListCachePolicies.- Parameters:
id- The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier usingListDistributionsorGetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier usingListCachePolicies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetCachePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetCachePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-