Class CfnDBInstance.CertificateDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnDBInstance.CertificateDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBInstance.CertificateDetailsProperty>
- Enclosing interface:
CfnDBInstance.CertificateDetailsProperty
@Stability(Stable)
public static final class CfnDBInstance.CertificateDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBInstance.CertificateDetailsProperty>
A builder for
CfnDBInstance.CertificateDetailsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.caIdentifier
(String caIdentifier) Sets the value ofCfnDBInstance.CertificateDetailsProperty.getCaIdentifier()
Sets the value ofCfnDBInstance.CertificateDetailsProperty.getValidTill()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
caIdentifier
@Stability(Stable) public CfnDBInstance.CertificateDetailsProperty.Builder caIdentifier(String caIdentifier) Sets the value ofCfnDBInstance.CertificateDetailsProperty.getCaIdentifier()
- Parameters:
caIdentifier
- The CA identifier of the CA certificate used for the DB instance's server certificate.- Returns:
this
-
validTill
@Stability(Stable) public CfnDBInstance.CertificateDetailsProperty.Builder validTill(String validTill) Sets the value ofCfnDBInstance.CertificateDetailsProperty.getValidTill()
- Parameters:
validTill
- The expiration date of the DB instance’s server certificate.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDBInstance.CertificateDetailsProperty>
- Returns:
- a new instance of
CfnDBInstance.CertificateDetailsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-