Class OriginAccessIdentityProps.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.OriginAccessIdentityProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OriginAccessIdentityProps>
- Enclosing interface:
OriginAccessIdentityProps
@Stability(Stable)
public static final class OriginAccessIdentityProps.Builder
extends Object
implements software.amazon.jsii.Builder<OriginAccessIdentityProps>
A builder for
OriginAccessIdentityProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofOriginAccessIdentityProps.getComment()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comment
Sets the value ofOriginAccessIdentityProps.getComment()
- Parameters:
comment
- Any comments you want to include about the origin access identity.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<OriginAccessIdentityProps>
- Returns:
- a new instance of
OriginAccessIdentityProps
- Throws:
NullPointerException
- if any required attribute was not provided
-