Interface CreateCloudFrontOriginAccessIdentityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<CreateCloudFrontOriginAccessIdentityResponse.Builder,
,CreateCloudFrontOriginAccessIdentityResponse> SdkBuilder<CreateCloudFrontOriginAccessIdentityResponse.Builder,
,CreateCloudFrontOriginAccessIdentityResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateCloudFrontOriginAccessIdentityResponse
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, 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
-
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.Builder
avoiding the need to create one manually viaCloudFrontOriginAccessIdentity.builder()
.When the
Consumer
completes,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.
-