Class CfnServicePropsMixin.ServiceConnectTlsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnServicePropsMixin.ServiceConnectTlsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.ServiceConnectTlsConfigurationProperty>
- Enclosing interface:
CfnServicePropsMixin.ServiceConnectTlsConfigurationProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.ServiceConnectTlsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.ServiceConnectTlsConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.issuerCertificateAuthority(CfnServicePropsMixin.ServiceConnectTlsCertificateAuthorityProperty issuerCertificateAuthority) issuerCertificateAuthority(IResolvable issuerCertificateAuthority) Sets the value ofCfnServicePropsMixin.ServiceConnectTlsConfigurationProperty.getKmsKey()Sets the value ofCfnServicePropsMixin.ServiceConnectTlsConfigurationProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
issuerCertificateAuthority
@Stability(Stable) public CfnServicePropsMixin.ServiceConnectTlsConfigurationProperty.Builder issuerCertificateAuthority(IResolvable issuerCertificateAuthority) Sets the value ofCfnServicePropsMixin.ServiceConnectTlsConfigurationProperty.getIssuerCertificateAuthority()- Parameters:
issuerCertificateAuthority- The signer certificate authority.- Returns:
this
-
issuerCertificateAuthority
@Stability(Stable) public CfnServicePropsMixin.ServiceConnectTlsConfigurationProperty.Builder issuerCertificateAuthority(CfnServicePropsMixin.ServiceConnectTlsCertificateAuthorityProperty issuerCertificateAuthority) Sets the value ofCfnServicePropsMixin.ServiceConnectTlsConfigurationProperty.getIssuerCertificateAuthority()- Parameters:
issuerCertificateAuthority- The signer certificate authority.- Returns:
this
-
kmsKey
@Stability(Stable) public CfnServicePropsMixin.ServiceConnectTlsConfigurationProperty.Builder kmsKey(String kmsKey) Sets the value ofCfnServicePropsMixin.ServiceConnectTlsConfigurationProperty.getKmsKey()- Parameters:
kmsKey- The AWS Key Management Service key.- Returns:
this
-
roleArn
@Stability(Stable) public CfnServicePropsMixin.ServiceConnectTlsConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnServicePropsMixin.ServiceConnectTlsConfigurationProperty.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that's associated with the Service Connect TLS.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.ServiceConnectTlsConfigurationProperty>- Returns:
- a new instance of
CfnServicePropsMixin.ServiceConnectTlsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-