Interface GetCachePolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFrontRequest.Builder,CopyableBuilder<GetCachePolicyRequest.Builder,,GetCachePolicyRequest> SdkBuilder<GetCachePolicyRequest.Builder,,GetCachePolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetCachePolicyRequest
@Mutable
@NotThreadSafe
public static interface GetCachePolicyRequest.Builder
extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<GetCachePolicyRequest.Builder,GetCachePolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier for the cache policy.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
-