Class CfnCertificate.GeneralNameProperty.Builder
java.lang.Object
software.amazon.awscdk.services.acmpca.CfnCertificate.GeneralNameProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificate.GeneralNameProperty>
- Enclosing interface:
CfnCertificate.GeneralNameProperty
@Stability(Stable)
public static final class CfnCertificate.GeneralNameProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificate.GeneralNameProperty>
A builder for
CfnCertificate.GeneralNameProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.directoryName(IResolvable directoryName) Sets the value ofCfnCertificate.GeneralNameProperty.getDirectoryName()directoryName(CfnCertificate.SubjectProperty directoryName) Sets the value ofCfnCertificate.GeneralNameProperty.getDirectoryName()Sets the value ofCfnCertificate.GeneralNameProperty.getDnsName()ediPartyName(IResolvable ediPartyName) Sets the value ofCfnCertificate.GeneralNameProperty.getEdiPartyName()ediPartyName(CfnCertificate.EdiPartyNameProperty ediPartyName) Sets the value ofCfnCertificate.GeneralNameProperty.getEdiPartyName()Sets the value ofCfnCertificate.GeneralNameProperty.getIpAddress()otherName(IResolvable otherName) Sets the value ofCfnCertificate.GeneralNameProperty.getOtherName()otherName(CfnCertificate.OtherNameProperty otherName) Sets the value ofCfnCertificate.GeneralNameProperty.getOtherName()registeredId(String registeredId) Sets the value ofCfnCertificate.GeneralNameProperty.getRegisteredId()rfc822Name(String rfc822Name) Sets the value ofCfnCertificate.GeneralNameProperty.getRfc822Name()uniformResourceIdentifier(String uniformResourceIdentifier) Sets the value ofCfnCertificate.GeneralNameProperty.getUniformResourceIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
directoryName
@Stability(Stable) public CfnCertificate.GeneralNameProperty.Builder directoryName(IResolvable directoryName) Sets the value ofCfnCertificate.GeneralNameProperty.getDirectoryName()- Parameters:
directoryName- Contains information about the certificate subject. The certificate can be one issued by your private certificate authority (CA) or it can be your private CA certificate. 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. The DN must be unique for each entity, but your private CA can issue more than one certificate with the same DN to the same entity.- Returns:
this
-
directoryName
@Stability(Stable) public CfnCertificate.GeneralNameProperty.Builder directoryName(CfnCertificate.SubjectProperty directoryName) Sets the value ofCfnCertificate.GeneralNameProperty.getDirectoryName()- Parameters:
directoryName- Contains information about the certificate subject. The certificate can be one issued by your private certificate authority (CA) or it can be your private CA certificate. 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. The DN must be unique for each entity, but your private CA can issue more than one certificate with the same DN to the same entity.- Returns:
this
-
dnsName
Sets the value ofCfnCertificate.GeneralNameProperty.getDnsName()- Parameters:
dnsName- RepresentsGeneralNameas a DNS name.- Returns:
this
-
ediPartyName
@Stability(Stable) public CfnCertificate.GeneralNameProperty.Builder ediPartyName(IResolvable ediPartyName) Sets the value ofCfnCertificate.GeneralNameProperty.getEdiPartyName()- Parameters:
ediPartyName- RepresentsGeneralNameas anEdiPartyNameobject.- Returns:
this
-
ediPartyName
@Stability(Stable) public CfnCertificate.GeneralNameProperty.Builder ediPartyName(CfnCertificate.EdiPartyNameProperty ediPartyName) Sets the value ofCfnCertificate.GeneralNameProperty.getEdiPartyName()- Parameters:
ediPartyName- RepresentsGeneralNameas anEdiPartyNameobject.- Returns:
this
-
ipAddress
Sets the value ofCfnCertificate.GeneralNameProperty.getIpAddress()- Parameters:
ipAddress- RepresentsGeneralNameas an IPv4 or IPv6 address.- Returns:
this
-
otherName
@Stability(Stable) public CfnCertificate.GeneralNameProperty.Builder otherName(IResolvable otherName) Sets the value ofCfnCertificate.GeneralNameProperty.getOtherName()- Parameters:
otherName- RepresentsGeneralNameusing anOtherNameobject.- Returns:
this
-
otherName
@Stability(Stable) public CfnCertificate.GeneralNameProperty.Builder otherName(CfnCertificate.OtherNameProperty otherName) Sets the value ofCfnCertificate.GeneralNameProperty.getOtherName()- Parameters:
otherName- RepresentsGeneralNameusing anOtherNameobject.- Returns:
this
-
registeredId
@Stability(Stable) public CfnCertificate.GeneralNameProperty.Builder registeredId(String registeredId) Sets the value ofCfnCertificate.GeneralNameProperty.getRegisteredId()- Parameters:
registeredId- RepresentsGeneralNameas an object identifier (OID).- Returns:
this
-
rfc822Name
Sets the value ofCfnCertificate.GeneralNameProperty.getRfc822Name()- Parameters:
rfc822Name- RepresentsGeneralNameas an RFC 822 email address.- Returns:
this
-
uniformResourceIdentifier
@Stability(Stable) public CfnCertificate.GeneralNameProperty.Builder uniformResourceIdentifier(String uniformResourceIdentifier) Sets the value ofCfnCertificate.GeneralNameProperty.getUniformResourceIdentifier()- Parameters:
uniformResourceIdentifier- RepresentsGeneralNameas a URI.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCertificate.GeneralNameProperty>- Returns:
- a new instance of
CfnCertificate.GeneralNameProperty - Throws:
NullPointerException- if any required attribute was not provided
-