Interface CreateCloudFrontOriginAccessIdentityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<CreateCloudFrontOriginAccessIdentityResponse.Builder,,CreateCloudFrontOriginAccessIdentityResponse> SdkBuilder<CreateCloudFrontOriginAccessIdentityResponse.Builder,,CreateCloudFrontOriginAccessIdentityResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateCloudFrontOriginAccessIdentityResponse
@Mutable
@NotThreadSafe
public static interface CreateCloudFrontOriginAccessIdentityResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreateCloudFrontOriginAccessIdentityResponse.Builder,CreateCloudFrontOriginAccessIdentityResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncloudFrontOriginAccessIdentity(Consumer<CloudFrontOriginAccessIdentity.Builder> cloudFrontOriginAccessIdentity) The origin access identity's information.cloudFrontOriginAccessIdentity(CloudFrontOriginAccessIdentity cloudFrontOriginAccessIdentity) The origin access identity's information.The current version of the origin access identity created.The fully qualified URI of the new origin access identity 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
-
cloudFrontOriginAccessIdentity
CreateCloudFrontOriginAccessIdentityResponse.Builder cloudFrontOriginAccessIdentity(CloudFrontOriginAccessIdentity cloudFrontOriginAccessIdentity) The origin access identity's information.
- Parameters:
cloudFrontOriginAccessIdentity- The origin access identity's information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudFrontOriginAccessIdentity
default CreateCloudFrontOriginAccessIdentityResponse.Builder cloudFrontOriginAccessIdentity(Consumer<CloudFrontOriginAccessIdentity.Builder> cloudFrontOriginAccessIdentity) The origin access identity's information.
This is a convenience method that creates an instance of theCloudFrontOriginAccessIdentity.Builderavoiding the need to create one manually viaCloudFrontOriginAccessIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudFrontOriginAccessIdentity(CloudFrontOriginAccessIdentity).- Parameters:
cloudFrontOriginAccessIdentity- a consumer that will call methods onCloudFrontOriginAccessIdentity.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 origin access identity just created.
- Parameters:
location- The fully qualified URI of the new origin access identity just created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eTag
The current version of the origin access identity created.
- Parameters:
eTag- The current version of the origin access identity created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-