Class CfnCertificateProps.Builder
java.lang.Object
software.amazon.awscdk.services.dms.CfnCertificateProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificateProps>
- Enclosing interface:
CfnCertificateProps
@Stability(Stable)
public static final class CfnCertificateProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificateProps>
A builder for
CfnCertificateProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.certificateIdentifier
(String certificateIdentifier) Sets the value ofCfnCertificateProps.getCertificateIdentifier()
certificatePem
(String certificatePem) Sets the value ofCfnCertificateProps.getCertificatePem()
certificateWallet
(String certificateWallet) Sets the value ofCfnCertificateProps.getCertificateWallet()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateIdentifier
@Stability(Stable) public CfnCertificateProps.Builder certificateIdentifier(String certificateIdentifier) Sets the value ofCfnCertificateProps.getCertificateIdentifier()
- Parameters:
certificateIdentifier
- A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.- Returns:
this
-
certificatePem
Sets the value ofCfnCertificateProps.getCertificatePem()
- Parameters:
certificatePem
- The contents of a.pem
file, which contains an X.509 certificate.- Returns:
this
-
certificateWallet
Sets the value ofCfnCertificateProps.getCertificateWallet()
- Parameters:
certificateWallet
- The location of an imported Oracle Wallet certificate for use with SSL. An example is:filebase64("${path.root}/rds-ca-2019-root.sso")
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCertificateProps>
- Returns:
- a new instance of
CfnCertificateProps
- Throws:
NullPointerException
- if any required attribute was not provided
-