Class CfnDomainName.MutualTlsAuthenticationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnDomainName.MutualTlsAuthenticationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainName.MutualTlsAuthenticationProperty>
- Enclosing interface:
CfnDomainName.MutualTlsAuthenticationProperty
@Stability(Stable)
public static final class CfnDomainName.MutualTlsAuthenticationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainName.MutualTlsAuthenticationProperty>
A builder for
CfnDomainName.MutualTlsAuthenticationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.truststoreUri
(String truststoreUri) Sets the value ofCfnDomainName.MutualTlsAuthenticationProperty.getTruststoreUri()
truststoreVersion
(String truststoreVersion) Sets the value ofCfnDomainName.MutualTlsAuthenticationProperty.getTruststoreVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
truststoreUri
@Stability(Stable) public CfnDomainName.MutualTlsAuthenticationProperty.Builder truststoreUri(String truststoreUri) Sets the value ofCfnDomainName.MutualTlsAuthenticationProperty.getTruststoreUri()
- Parameters:
truststoreUri
- An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for examples3://bucket-name/key-name
. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object.- Returns:
this
-
truststoreVersion
@Stability(Stable) public CfnDomainName.MutualTlsAuthenticationProperty.Builder truststoreVersion(String truststoreVersion) Sets the value ofCfnDomainName.MutualTlsAuthenticationProperty.getTruststoreVersion()
- Parameters:
truststoreVersion
- The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomainName.MutualTlsAuthenticationProperty>
- Returns:
- a new instance of
CfnDomainName.MutualTlsAuthenticationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-