@Stability(value=Experimental) public static final class S3OriginProps.Builder extends Object implements software.amazon.jsii.Builder<S3OriginProps>
S3OriginProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
S3OriginProps |
build()
Builds the configured instance.
|
S3OriginProps.Builder |
originAccessIdentity(IOriginAccessIdentity originAccessIdentity)
Sets the value of
S3OriginProps.getOriginAccessIdentity() |
S3OriginProps.Builder |
originPath(String originPath)
Sets the value of
S3OriginProps.getOriginPath() |
@Stability(value=Experimental) public S3OriginProps.Builder originAccessIdentity(IOriginAccessIdentity originAccessIdentity)
S3OriginProps.getOriginAccessIdentity()originAccessIdentity - An optional Origin Access Identity of the origin identity cloudfront will use when calling your s3 bucket.this@Stability(value=Experimental) public S3OriginProps.Builder originPath(String originPath)
S3OriginProps.getOriginPath()originPath - An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
Must begin, but not end, with '/' (e.g., '/production/images').this@Stability(value=Experimental) public S3OriginProps build()
build in interface software.amazon.jsii.Builder<S3OriginProps>S3OriginPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.