Class CfnTrustStore.CaCertificatesBundleS3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnTrustStore.CaCertificatesBundleS3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrustStore.CaCertificatesBundleS3LocationProperty>
- Enclosing interface:
CfnTrustStore.CaCertificatesBundleS3LocationProperty
@Stability(Stable)
public static final class CfnTrustStore.CaCertificatesBundleS3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrustStore.CaCertificatesBundleS3LocationProperty>
A builder for
CfnTrustStore.CaCertificatesBundleS3LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTrustStore.CaCertificatesBundleS3LocationProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnTrustStore.CaCertificatesBundleS3LocationProperty.getKey()Sets the value ofCfnTrustStore.CaCertificatesBundleS3LocationProperty.getRegion()Sets the value ofCfnTrustStore.CaCertificatesBundleS3LocationProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnTrustStore.CaCertificatesBundleS3LocationProperty.Builder bucket(String bucket) Sets the value ofCfnTrustStore.CaCertificatesBundleS3LocationProperty.getBucket()- Parameters:
bucket- The S3 bucket. This parameter is required.- Returns:
this
-
key
@Stability(Stable) public CfnTrustStore.CaCertificatesBundleS3LocationProperty.Builder key(String key) Sets the value ofCfnTrustStore.CaCertificatesBundleS3LocationProperty.getKey()- Parameters:
key- The location's key. This parameter is required.- Returns:
this
-
region
@Stability(Stable) public CfnTrustStore.CaCertificatesBundleS3LocationProperty.Builder region(String region) Sets the value ofCfnTrustStore.CaCertificatesBundleS3LocationProperty.getRegion()- Parameters:
region- The location's Region. This parameter is required.- Returns:
this
-
version
@Stability(Stable) public CfnTrustStore.CaCertificatesBundleS3LocationProperty.Builder version(String version) Sets the value ofCfnTrustStore.CaCertificatesBundleS3LocationProperty.getVersion()- Parameters:
version- The location's version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrustStore.CaCertificatesBundleS3LocationProperty>- Returns:
- a new instance of
CfnTrustStore.CaCertificatesBundleS3LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-