Class OriginAccessIdentity.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.OriginAccessIdentity.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OriginAccessIdentity>
- Enclosing class:
- OriginAccessIdentity
@Stability(Stable)
public static final class OriginAccessIdentity.Builder
extends Object
implements software.amazon.jsii.Builder<OriginAccessIdentity>
A fluent builder for
OriginAccessIdentity
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Any comments you want to include about the origin access identity.static OriginAccessIdentity.Builder
-
Method Details
-
create
@Stability(Stable) public static OriginAccessIdentity.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
OriginAccessIdentity.Builder
.
-
comment
Any comments you want to include about the origin access identity.Default: "Allows CloudFront to reach the bucket"
- Parameters:
comment
- Any comments you want to include about the origin access identity. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<OriginAccessIdentity>
- Returns:
- a newly built instance of
OriginAccessIdentity
.
-