Class CfnCertificate.ApiPassthroughProperty.Builder
java.lang.Object
software.amazon.awscdk.services.acmpca.CfnCertificate.ApiPassthroughProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificate.ApiPassthroughProperty>
- Enclosing interface:
CfnCertificate.ApiPassthroughProperty
@Stability(Stable)
public static final class CfnCertificate.ApiPassthroughProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificate.ApiPassthroughProperty>
A builder for
CfnCertificate.ApiPassthroughProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.extensions
(IResolvable extensions) Sets the value ofCfnCertificate.ApiPassthroughProperty.getExtensions()
extensions
(CfnCertificate.ExtensionsProperty extensions) Sets the value ofCfnCertificate.ApiPassthroughProperty.getExtensions()
subject
(IResolvable subject) Sets the value ofCfnCertificate.ApiPassthroughProperty.getSubject()
subject
(CfnCertificate.SubjectProperty subject) Sets the value ofCfnCertificate.ApiPassthroughProperty.getSubject()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
extensions
@Stability(Stable) public CfnCertificate.ApiPassthroughProperty.Builder extensions(IResolvable extensions) Sets the value ofCfnCertificate.ApiPassthroughProperty.getExtensions()
- Parameters:
extensions
- Specifies X.509 extension information for a certificate.- Returns:
this
-
extensions
@Stability(Stable) public CfnCertificate.ApiPassthroughProperty.Builder extensions(CfnCertificate.ExtensionsProperty extensions) Sets the value ofCfnCertificate.ApiPassthroughProperty.getExtensions()
- Parameters:
extensions
- Specifies X.509 extension information for a certificate.- Returns:
this
-
subject
@Stability(Stable) public CfnCertificate.ApiPassthroughProperty.Builder subject(IResolvable subject) Sets the value ofCfnCertificate.ApiPassthroughProperty.getSubject()
- Parameters:
subject
- Contains information about the certificate subject. The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.- Returns:
this
-
subject
@Stability(Stable) public CfnCertificate.ApiPassthroughProperty.Builder subject(CfnCertificate.SubjectProperty subject) Sets the value ofCfnCertificate.ApiPassthroughProperty.getSubject()
- Parameters:
subject
- Contains information about the certificate subject. The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCertificate.ApiPassthroughProperty>
- Returns:
- a new instance of
CfnCertificate.ApiPassthroughProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-