Class CfnVirtualNode.ListenerTlsFileCertificateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualNode.ListenerTlsFileCertificateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualNode.ListenerTlsFileCertificateProperty>
- Enclosing interface:
CfnVirtualNode.ListenerTlsFileCertificateProperty
@Stability(Stable)
public static final class CfnVirtualNode.ListenerTlsFileCertificateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualNode.ListenerTlsFileCertificateProperty>
A builder for
CfnVirtualNode.ListenerTlsFileCertificateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificateChain(String certificateChain) Sets the value ofCfnVirtualNode.ListenerTlsFileCertificateProperty.getCertificateChain()privateKey(String privateKey) Sets the value ofCfnVirtualNode.ListenerTlsFileCertificateProperty.getPrivateKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateChain
@Stability(Stable) public CfnVirtualNode.ListenerTlsFileCertificateProperty.Builder certificateChain(String certificateChain) Sets the value ofCfnVirtualNode.ListenerTlsFileCertificateProperty.getCertificateChain()- Parameters:
certificateChain- The certificate chain for the certificate. This parameter is required.- Returns:
this
-
privateKey
@Stability(Stable) public CfnVirtualNode.ListenerTlsFileCertificateProperty.Builder privateKey(String privateKey) Sets the value ofCfnVirtualNode.ListenerTlsFileCertificateProperty.getPrivateKey()- Parameters:
privateKey- The private key for a certificate stored on the file system of the virtual node that the proxy is running on. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVirtualNode.ListenerTlsFileCertificateProperty>- Returns:
- a new instance of
CfnVirtualNode.ListenerTlsFileCertificateProperty - Throws:
NullPointerException- if any required attribute was not provided
-