Class CfnCertificateAuthority.GeneralNameProperty.Builder
java.lang.Object
software.amazon.awscdk.services.acmpca.CfnCertificateAuthority.GeneralNameProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificateAuthority.GeneralNameProperty>
- Enclosing interface:
CfnCertificateAuthority.GeneralNameProperty
@Stability(Stable)
public static final class CfnCertificateAuthority.GeneralNameProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificateAuthority.GeneralNameProperty>
A builder for
CfnCertificateAuthority.GeneralNameProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.directoryName
(IResolvable directoryName) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getDirectoryName()
directoryName
(CfnCertificateAuthority.SubjectProperty directoryName) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getDirectoryName()
Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getDnsName()
ediPartyName
(IResolvable ediPartyName) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getEdiPartyName()
ediPartyName
(CfnCertificateAuthority.EdiPartyNameProperty ediPartyName) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getEdiPartyName()
Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getIpAddress()
otherName
(IResolvable otherName) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getOtherName()
Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getOtherName()
registeredId
(String registeredId) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getRegisteredId()
rfc822Name
(String rfc822Name) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getRfc822Name()
uniformResourceIdentifier
(String uniformResourceIdentifier)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
directoryName
@Stability(Stable) public CfnCertificateAuthority.GeneralNameProperty.Builder directoryName(IResolvable directoryName) Sets the value ofCfnCertificateAuthority.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 CfnCertificateAuthority.GeneralNameProperty.Builder directoryName(CfnCertificateAuthority.SubjectProperty directoryName) Sets the value ofCfnCertificateAuthority.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
@Stability(Stable) public CfnCertificateAuthority.GeneralNameProperty.Builder dnsName(String dnsName) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getDnsName()
- Parameters:
dnsName
- RepresentsGeneralName
as a DNS name.- Returns:
this
-
ediPartyName
@Stability(Stable) public CfnCertificateAuthority.GeneralNameProperty.Builder ediPartyName(IResolvable ediPartyName) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getEdiPartyName()
- Parameters:
ediPartyName
- RepresentsGeneralName
as anEdiPartyName
object.- Returns:
this
-
ediPartyName
@Stability(Stable) public CfnCertificateAuthority.GeneralNameProperty.Builder ediPartyName(CfnCertificateAuthority.EdiPartyNameProperty ediPartyName) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getEdiPartyName()
- Parameters:
ediPartyName
- RepresentsGeneralName
as anEdiPartyName
object.- Returns:
this
-
ipAddress
@Stability(Stable) public CfnCertificateAuthority.GeneralNameProperty.Builder ipAddress(String ipAddress) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getIpAddress()
- Parameters:
ipAddress
- RepresentsGeneralName
as an IPv4 or IPv6 address.- Returns:
this
-
otherName
@Stability(Stable) public CfnCertificateAuthority.GeneralNameProperty.Builder otherName(IResolvable otherName) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getOtherName()
- Parameters:
otherName
- RepresentsGeneralName
using anOtherName
object.- Returns:
this
-
otherName
@Stability(Stable) public CfnCertificateAuthority.GeneralNameProperty.Builder otherName(CfnCertificateAuthority.OtherNameProperty otherName) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getOtherName()
- Parameters:
otherName
- RepresentsGeneralName
using anOtherName
object.- Returns:
this
-
registeredId
@Stability(Stable) public CfnCertificateAuthority.GeneralNameProperty.Builder registeredId(String registeredId) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getRegisteredId()
- Parameters:
registeredId
- RepresentsGeneralName
as an object identifier (OID).- Returns:
this
-
rfc822Name
@Stability(Stable) public CfnCertificateAuthority.GeneralNameProperty.Builder rfc822Name(String rfc822Name) Sets the value ofCfnCertificateAuthority.GeneralNameProperty.getRfc822Name()
- Parameters:
rfc822Name
- RepresentsGeneralName
as an RFC 822 email address.- Returns:
this
-
uniformResourceIdentifier
@Stability(Stable) public CfnCertificateAuthority.GeneralNameProperty.Builder uniformResourceIdentifier(String uniformResourceIdentifier) - Parameters:
uniformResourceIdentifier
- RepresentsGeneralName
as a URI.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCertificateAuthority.GeneralNameProperty>
- Returns:
- a new instance of
CfnCertificateAuthority.GeneralNameProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-