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