Class OriginAccessControlReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.cloudfront.OriginAccessControlReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OriginAccessControlReference>
- Enclosing interface:
OriginAccessControlReference
@Stability(Stable)
public static final class OriginAccessControlReference.Builder
extends Object
implements software.amazon.jsii.Builder<OriginAccessControlReference>
A builder for
OriginAccessControlReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.originAccessControlId(String originAccessControlId) Sets the value ofOriginAccessControlReference.getOriginAccessControlId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
originAccessControlId
@Stability(Stable) public OriginAccessControlReference.Builder originAccessControlId(String originAccessControlId) Sets the value ofOriginAccessControlReference.getOriginAccessControlId()- Parameters:
originAccessControlId- The Id of the OriginAccessControl resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OriginAccessControlReference>- Returns:
- a new instance of
OriginAccessControlReference - Throws:
NullPointerException- if any required attribute was not provided
-