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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CopyDistributionResponse.Builderdistribution(Consumer<Distribution.Builder> distribution)Sets the value of the Distribution property for this object.CopyDistributionResponse.Builderdistribution(Distribution distribution)Sets the value of the Distribution property for this object.CopyDistributionResponse.BuildereTag(String eTag)The version identifier for the current version of the staging distribution.CopyDistributionResponse.Builderlocation(String location)The URL of the staging distribution.-
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
distribution
CopyDistributionResponse.Builder distribution(Distribution 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
default CopyDistributionResponse.Builder distribution(Consumer<Distribution.Builder> 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:
distribution(Distribution)
-
location
CopyDistributionResponse.Builder location(String 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
CopyDistributionResponse.Builder eTag(String 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.
-
-