Interface StartCacheRevalidationRequest.Builder
- All Superinterfaces:
AmplifyGen3Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<StartCacheRevalidationRequest.Builder,,StartCacheRevalidationRequest> SdkBuilder<StartCacheRevalidationRequest.Builder,,StartCacheRevalidationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartCacheRevalidationRequest
@Mutable
@NotThreadSafe
public static interface StartCacheRevalidationRequest.Builder
extends AmplifyGen3Request.Builder, SdkPojo, CopyableBuilder<StartCacheRevalidationRequest.Builder,StartCacheRevalidationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the app.The cache tags that identify the content to revalidate.cacheTags(Collection<String> cacheTags) The cache tags that identify the content to revalidate.deploymentId(String deploymentId) The ID of the deployment.environmentName(String environmentName) The name of the environment.expirationPeriodSeconds(Integer expirationPeriodSeconds) The period, in seconds, after which the revalidated content expires.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Request.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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
-
appName
The name of the app.
- Parameters:
appName- The name of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
The name of the environment.
- Parameters:
environmentName- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentId
The ID of the deployment.
- Parameters:
deploymentId- The ID of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheTags
The cache tags that identify the content to revalidate.
- Parameters:
cacheTags- The cache tags that identify the content to revalidate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheTags
The cache tags that identify the content to revalidate.
- Parameters:
cacheTags- The cache tags that identify the content to revalidate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationPeriodSeconds
The period, in seconds, after which the revalidated content expires.
- Parameters:
expirationPeriodSeconds- The period, in seconds, after which the revalidated content expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartCacheRevalidationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartCacheRevalidationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-