Interface GetOriginAccessControlResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CloudFrontResponse.Builder,- CopyableBuilder<GetOriginAccessControlResponse.Builder,,- GetOriginAccessControlResponse> - SdkBuilder<GetOriginAccessControlResponse.Builder,,- GetOriginAccessControlResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetOriginAccessControlResponse
@Mutable
@NotThreadSafe
public static interface GetOriginAccessControlResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<GetOriginAccessControlResponse.Builder,GetOriginAccessControlResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionThe version identifier for the current version of the origin access control.originAccessControl(Consumer<OriginAccessControl.Builder> originAccessControl) Contains an origin access control, including its unique identifier.originAccessControl(OriginAccessControl originAccessControl) Contains an origin access control, including its unique identifier.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- 
originAccessControlContains an origin access control, including its unique identifier. - Parameters:
- originAccessControl- Contains an origin access control, including its unique identifier.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
originAccessControldefault GetOriginAccessControlResponse.Builder originAccessControl(Consumer<OriginAccessControl.Builder> originAccessControl) Contains an origin access control, including its unique identifier. This is a convenience method that creates an instance of theOriginAccessControl.Builderavoiding the need to create one manually viaOriginAccessControl.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooriginAccessControl(OriginAccessControl).- Parameters:
- originAccessControl- a consumer that will call methods on- OriginAccessControl.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
eTagThe version identifier for the current version of the origin access control. - Parameters:
- eTag- The version identifier for the current version of the origin access control.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-