Interface CopyDistributionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<CopyDistributionResponse.Builder,,CopyDistributionResponse> SdkBuilder<CopyDistributionResponse.Builder,,CopyDistributionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CopyDistributionResponse
public static interface CopyDistributionResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CopyDistributionResponse.Builder,CopyDistributionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CopyDistributionResponse.Builderdistribution(Consumer<Distribution.Builder> distribution) Sets the value of the Distribution property for this object.distribution(Distribution distribution) Sets the value of the Distribution property for this object.The version identifier for the current version of the staging distribution.The URL of the staging distribution.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
distribution
Sets the value of the Distribution property for this object.- Parameters:
distribution- The new value for the Distribution property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distribution
Sets the value of the Distribution property for this object. This is a convenience method that creates an instance of theDistribution.Builderavoiding the need to create one manually viaDistribution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todistribution(Distribution).- Parameters:
distribution- a consumer that will call methods onDistribution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
location
The URL of the staging distribution.
- Parameters:
location- The URL of the staging distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eTag
The version identifier for the current version of the staging distribution.
- Parameters:
eTag- The version identifier for the current version of the staging distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-