Interface UpdateDistributionWithStagingConfigResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<UpdateDistributionWithStagingConfigResponse.Builder,UpdateDistributionWithStagingConfigResponse>,SdkBuilder<UpdateDistributionWithStagingConfigResponse.Builder,UpdateDistributionWithStagingConfigResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateDistributionWithStagingConfigResponse
@Mutable @NotThreadSafe public static interface UpdateDistributionWithStagingConfigResponse.Builder extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<UpdateDistributionWithStagingConfigResponse.Builder,UpdateDistributionWithStagingConfigResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateDistributionWithStagingConfigResponse.Builderdistribution(Consumer<Distribution.Builder> distribution)Sets the value of the Distribution property for this object.UpdateDistributionWithStagingConfigResponse.Builderdistribution(Distribution distribution)Sets the value of the Distribution property for this object.UpdateDistributionWithStagingConfigResponse.BuildereTag(String eTag)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
distribution
UpdateDistributionWithStagingConfigResponse.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 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.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)
-
eTag
UpdateDistributionWithStagingConfigResponse.Builder eTag(String 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.
-
-