Class CfnApp.SslConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opsworks.CfnApp.SslConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApp.SslConfigurationProperty>
- Enclosing interface:
CfnApp.SslConfigurationProperty
@Stability(Stable)
public static final class CfnApp.SslConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApp.SslConfigurationProperty>
A builder for
CfnApp.SslConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.certificate
(String certificate) Sets the value ofCfnApp.SslConfigurationProperty.getCertificate()
Sets the value ofCfnApp.SslConfigurationProperty.getChain()
privateKey
(String privateKey) Sets the value ofCfnApp.SslConfigurationProperty.getPrivateKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificate
Sets the value ofCfnApp.SslConfigurationProperty.getCertificate()
- Parameters:
certificate
- The contents of the certificate's domain.crt file.- Returns:
this
-
chain
Sets the value ofCfnApp.SslConfigurationProperty.getChain()
- Parameters:
chain
- Optional. Can be used to specify an intermediate certificate authority key or client authentication.- Returns:
this
-
privateKey
Sets the value ofCfnApp.SslConfigurationProperty.getPrivateKey()
- Parameters:
privateKey
- The private key;. the contents of the certificate's domain.kex file.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApp.SslConfigurationProperty>
- Returns:
- a new instance of
CfnApp.SslConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-