Interface CreateDistributionResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CloudFrontResponse.Builder,- CopyableBuilder<CreateDistributionResponse.Builder,,- CreateDistributionResponse> - SdkBuilder<CreateDistributionResponse.Builder,,- CreateDistributionResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CreateDistributionResponse
@Mutable
@NotThreadSafe
public static interface CreateDistributionResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreateDistributionResponse.Builder,CreateDistributionResponse> 
- 
Method SummaryModifier 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.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
distributionThe distribution's information. - Parameters:
- distribution- The distribution's information.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
distributiondefault CreateDistributionResponse.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 on- Distribution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
locationThe 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.
 
- 
eTagThe 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.
 
 
-