Class CfnCluster.TlsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnCluster.TlsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.TlsProperty>
- Enclosing interface:
- CfnCluster.TlsProperty
@Stability(Stable)
public static final class CfnCluster.TlsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.TlsProperty>
A builder for
CfnCluster.TlsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificateAuthorityArnList(List<String> certificateAuthorityArnList) Sets the value ofCfnCluster.TlsProperty.getCertificateAuthorityArnList()Sets the value ofCfnCluster.TlsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnCluster.TlsProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateAuthorityArnList
@Stability(Stable) public CfnCluster.TlsProperty.Builder certificateAuthorityArnList(List<String> certificateAuthorityArnList) Sets the value ofCfnCluster.TlsProperty.getCertificateAuthorityArnList()- Parameters:
certificateAuthorityArnList- List of AWS Private CA ARNs.- Returns:
this
-
enabled
Sets the value ofCfnCluster.TlsProperty.getEnabled()- Parameters:
enabled- TLS authentication is enabled or not.- Returns:
this
-
enabled
Sets the value ofCfnCluster.TlsProperty.getEnabled()- Parameters:
enabled- TLS authentication is enabled or not.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.TlsProperty>- Returns:
- a new instance of
CfnCluster.TlsProperty - Throws:
NullPointerException- if any required attribute was not provided
-