@Stability(value=Stable) public static final class CfnDistribution.LegacyS3OriginProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDistribution.LegacyS3OriginProperty>
CfnDistribution.LegacyS3OriginProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDistribution.LegacyS3OriginProperty |
build()
Builds the configured instance.
|
CfnDistribution.LegacyS3OriginProperty.Builder |
dnsName(String dnsName)
Sets the value of
CfnDistribution.LegacyS3OriginProperty.getDnsName() |
CfnDistribution.LegacyS3OriginProperty.Builder |
originAccessIdentity(String originAccessIdentity)
Sets the value of
CfnDistribution.LegacyS3OriginProperty.getOriginAccessIdentity() |
@Stability(value=Stable) public CfnDistribution.LegacyS3OriginProperty.Builder dnsName(String dnsName)
CfnDistribution.LegacyS3OriginProperty.getDnsName()dnsName - `CfnDistribution.LegacyS3OriginProperty.DNSName`. This parameter is required.this@Stability(value=Stable) public CfnDistribution.LegacyS3OriginProperty.Builder originAccessIdentity(String originAccessIdentity)
CfnDistribution.LegacyS3OriginProperty.getOriginAccessIdentity()originAccessIdentity - `CfnDistribution.LegacyS3OriginProperty.OriginAccessIdentity`.this@Stability(value=Stable) public CfnDistribution.LegacyS3OriginProperty build()
build in interface software.amazon.jsii.Builder<CfnDistribution.LegacyS3OriginProperty>CfnDistribution.LegacyS3OriginPropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.