Interface UpdateOriginAccessControlResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<UpdateOriginAccessControlResponse.Builder,
,UpdateOriginAccessControlResponse> SdkBuilder<UpdateOriginAccessControlResponse.Builder,
,UpdateOriginAccessControlResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateOriginAccessControlResponse
public static interface UpdateOriginAccessControlResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<UpdateOriginAccessControlResponse.Builder,UpdateOriginAccessControlResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe new version of the origin access control after it has been updated.originAccessControl
(Consumer<OriginAccessControl.Builder> originAccessControl) The origin access control after it has been updated.originAccessControl
(OriginAccessControl originAccessControl) The origin access control after it has been updated.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
-
originAccessControl
UpdateOriginAccessControlResponse.Builder originAccessControl(OriginAccessControl originAccessControl) The origin access control after it has been updated.
- Parameters:
originAccessControl
- The origin access control after it has been updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originAccessControl
default UpdateOriginAccessControlResponse.Builder originAccessControl(Consumer<OriginAccessControl.Builder> originAccessControl) The origin access control after it has been updated.
This is a convenience method that creates an instance of theOriginAccessControl.Builder
avoiding the need to create one manually viaOriginAccessControl.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooriginAccessControl(OriginAccessControl)
.- Parameters:
originAccessControl
- a consumer that will call methods onOriginAccessControl.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eTag
The new version of the origin access control after it has been updated.
- Parameters:
eTag
- The new version of the origin access control after it has been updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-