Interface UpdateDistributionWithStagingConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<UpdateDistributionWithStagingConfigResponse.Builder,
,UpdateDistributionWithStagingConfigResponse> SdkBuilder<UpdateDistributionWithStagingConfigResponse.Builder,
,UpdateDistributionWithStagingConfigResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateDistributionWithStagingConfigResponse
public static interface UpdateDistributionWithStagingConfigResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<UpdateDistributionWithStagingConfigResponse.Builder,UpdateDistributionWithStagingConfigResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondistribution
(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 current version of the primary distribution (after it's updated).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 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
default UpdateDistributionWithStagingConfigResponse.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.Builder
avoiding the need to create one manually viaDistribution.builder()
.When the
Consumer
completes,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:
-
eTag
The current version of the primary distribution (after it's updated).
- Parameters:
eTag
- The current version of the primary distribution (after it's updated).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-