Interface CreateDistributionWithTagsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<CreateDistributionWithTagsResponse.Builder,,CreateDistributionWithTagsResponse> SdkBuilder<CreateDistributionWithTagsResponse.Builder,,CreateDistributionWithTagsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateDistributionWithTagsResponse
@Mutable
@NotThreadSafe
public static interface CreateDistributionWithTagsResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreateDistributionWithTagsResponse.Builder,CreateDistributionWithTagsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondistribution(Consumer<Distribution.Builder> distribution) The distribution's information.distribution(Distribution distribution) The distribution's information.The current version of the distribution created.The fully qualified URI of the new distribution resource just created.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
distribution
The distribution's information.
- Parameters:
distribution- The distribution's information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distribution
default CreateDistributionWithTagsResponse.Builder distribution(Consumer<Distribution.Builder> distribution) The distribution's information.
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 fully qualified URI of the new distribution resource just created.
- Parameters:
location- The fully qualified URI of the new distribution resource just created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eTag
The current version of the distribution created.
- Parameters:
eTag- The current version of the distribution created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-