Class CfnApi.MutualTlsAuthenticationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnApi.MutualTlsAuthenticationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApi.MutualTlsAuthenticationProperty>
- Enclosing interface:
- CfnApi.MutualTlsAuthenticationProperty
@Stability(Stable)
public static final class CfnApi.MutualTlsAuthenticationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApi.MutualTlsAuthenticationProperty>
A builder for
CfnApi.MutualTlsAuthenticationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.truststoreUri
(String truststoreUri) Sets the value ofCfnApi.MutualTlsAuthenticationProperty.getTruststoreUri()
truststoreVersion
(String truststoreVersion) Sets the value ofCfnApi.MutualTlsAuthenticationProperty.getTruststoreVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
truststoreUri
@Stability(Stable) public CfnApi.MutualTlsAuthenticationProperty.Builder truststoreUri(String truststoreUri) Sets the value ofCfnApi.MutualTlsAuthenticationProperty.getTruststoreUri()
- Parameters:
truststoreUri
- the value to be set.- Returns:
this
-
truststoreVersion
@Stability(Stable) public CfnApi.MutualTlsAuthenticationProperty.Builder truststoreVersion(String truststoreVersion) Sets the value ofCfnApi.MutualTlsAuthenticationProperty.getTruststoreVersion()
- Parameters:
truststoreVersion
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApi.MutualTlsAuthenticationProperty>
- Returns:
- a new instance of
CfnApi.MutualTlsAuthenticationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-