Class CfnCertificate.Builder
java.lang.Object
software.amazon.awscdk.services.transfer.CfnCertificate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificate>
- Enclosing class:
CfnCertificate
@Stability(Stable)
public static final class CfnCertificate.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificate>
A fluent builder for
CfnCertificate
.-
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.static CfnCertificate.Builder
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 whether this certificate is used for signing or encryption.
-
Method Details
-
create
@Stability(Stable) public static CfnCertificate.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCertificate.Builder
.
-
certificate
The file name for the certificate.- Parameters:
certificate
- The file name for the certificate. This parameter is required.- Returns:
this
- See Also:
-
usage
Specifies whether this certificate is used for signing or encryption.- Parameters:
usage
- Specifies whether this certificate is used for signing or encryption. This parameter is required.- Returns:
this
- See Also:
-
activeDate
An optional date that specifies when the certificate becomes active.- Parameters:
activeDate
- An optional date that specifies when the certificate becomes active. This parameter is required.- Returns:
this
- See Also:
-
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.- 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:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCertificate>
- Returns:
- a newly built instance of
CfnCertificate
.
-