Class CfnCertificatePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.transfer.mixins.CfnCertificatePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificatePropsMixin>
- Enclosing class:
CfnCertificatePropsMixin
@Stability(Stable)
public static final class CfnCertificatePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificatePropsMixin>
A fluent builder for
CfnCertificatePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionactiveDate(String activeDate) An optional date that specifies when the certificate becomes active.build()certificate(String certificate) The file name for the certificate.certificateChain(String certificateChain) The list of certificates that make up the chain for the certificate.create()create(CfnPropertyMixinOptions options) description(String description) The name or description that's used to identity the certificate.inactiveDate(String inactiveDate) An optional date that specifies when the certificate becomes inactive.privateKey(String privateKey) The file that contains the private key for the certificate that's being imported.Key-value pairs that can be used to group and search for certificates.Specifies how this certificate is used.
-
Method Details
-
create
@Stability(Stable) public static CfnCertificatePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCertificatePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCertificatePropsMixin.Builder.
-
activeDate
An optional date that specifies when the certificate becomes active.If you do not specify a value,
ActiveDatetakes the same value asNotBeforeDate, which is specified by the CA.- Parameters:
activeDate- An optional date that specifies when the certificate becomes active. This parameter is required.- Returns:
this- See Also:
-
certificate
The file name for the certificate.- Parameters:
certificate- The file name for the certificate. This parameter is required.- Returns:
this- See Also:
-
certificateChain
@Stability(Stable) public CfnCertificatePropsMixin.Builder certificateChain(String certificateChain) The list of certificates that make up the chain for the certificate.- Parameters:
certificateChain- The list of certificates that make up the chain for the certificate. This parameter is required.- Returns:
this- See Also:
-
description
The name or description that's used to identity the certificate.- Parameters:
description- The name or description that's used to identity the certificate. This parameter is required.- Returns:
this- See Also:
-
inactiveDate
An optional date that specifies when the certificate becomes inactive.If you do not specify a value,
InactiveDatetakes the same value asNotAfterDate, which is specified by the CA.- Parameters:
inactiveDate- An optional date that specifies when the certificate becomes inactive. This parameter is required.- Returns:
this- See Also:
-
privateKey
The file that contains the private key for the certificate that's being imported.- Parameters:
privateKey- The file that contains the private key for the certificate that's being imported. This parameter is required.- Returns:
this- See Also:
-
tags
Key-value pairs that can be used to group and search for certificates.- Parameters:
tags- Key-value pairs that can be used to group and search for certificates. This parameter is required.- Returns:
this- See Also:
-
usage
Specifies how this certificate is used. It can be used in the following ways:.SIGNING: For signing AS2 messagesENCRYPTION: For encrypting AS2 messagesTLS: For securing AS2 communications sent over HTTPS
- Parameters:
usage- Specifies how this certificate is used. It can be used in the following ways:. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCertificatePropsMixin>- Returns:
- a newly built instance of
CfnCertificatePropsMixin.
-