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