Class CfnTemplate.SubjectNameFlagsV3Property.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.SubjectNameFlagsV3Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.SubjectNameFlagsV3Property>
- Enclosing interface:
CfnTemplate.SubjectNameFlagsV3Property
@Stability(Stable)
public static final class CfnTemplate.SubjectNameFlagsV3Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.SubjectNameFlagsV3Property>
A builder for
CfnTemplate.SubjectNameFlagsV3Property
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.requireCommonName
(Boolean requireCommonName) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireCommonName()
requireCommonName
(IResolvable requireCommonName) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireCommonName()
requireDirectoryPath
(Boolean requireDirectoryPath) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireDirectoryPath()
requireDirectoryPath
(IResolvable requireDirectoryPath) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireDirectoryPath()
requireDnsAsCn
(Boolean requireDnsAsCn) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireDnsAsCn()
requireDnsAsCn
(IResolvable requireDnsAsCn) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireDnsAsCn()
requireEmail
(Boolean requireEmail) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireEmail()
requireEmail
(IResolvable requireEmail) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireEmail()
sanRequireDirectoryGuid
(Boolean sanRequireDirectoryGuid) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireDirectoryGuid()
sanRequireDirectoryGuid
(IResolvable sanRequireDirectoryGuid) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireDirectoryGuid()
sanRequireDns
(Boolean sanRequireDns) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireDns()
sanRequireDns
(IResolvable sanRequireDns) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireDns()
sanRequireDomainDns
(Boolean sanRequireDomainDns) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireDomainDns()
sanRequireDomainDns
(IResolvable sanRequireDomainDns) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireDomainDns()
sanRequireEmail
(Boolean sanRequireEmail) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireEmail()
sanRequireEmail
(IResolvable sanRequireEmail) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireEmail()
sanRequireSpn
(Boolean sanRequireSpn) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireSpn()
sanRequireSpn
(IResolvable sanRequireSpn) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireSpn()
sanRequireUpn
(Boolean sanRequireUpn) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireUpn()
sanRequireUpn
(IResolvable sanRequireUpn) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireUpn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
requireCommonName
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder requireCommonName(Boolean requireCommonName) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireCommonName()
- Parameters:
requireCommonName
- Include the common name in the subject name.- Returns:
this
-
requireCommonName
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder requireCommonName(IResolvable requireCommonName) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireCommonName()
- Parameters:
requireCommonName
- Include the common name in the subject name.- Returns:
this
-
requireDirectoryPath
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder requireDirectoryPath(Boolean requireDirectoryPath) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireDirectoryPath()
- Parameters:
requireDirectoryPath
- Include the directory path in the subject name.- Returns:
this
-
requireDirectoryPath
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder requireDirectoryPath(IResolvable requireDirectoryPath) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireDirectoryPath()
- Parameters:
requireDirectoryPath
- Include the directory path in the subject name.- Returns:
this
-
requireDnsAsCn
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder requireDnsAsCn(Boolean requireDnsAsCn) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireDnsAsCn()
- Parameters:
requireDnsAsCn
- Include the DNS as common name in the subject name.- Returns:
this
-
requireDnsAsCn
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder requireDnsAsCn(IResolvable requireDnsAsCn) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireDnsAsCn()
- Parameters:
requireDnsAsCn
- Include the DNS as common name in the subject name.- Returns:
this
-
requireEmail
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder requireEmail(Boolean requireEmail) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireEmail()
- Parameters:
requireEmail
- Include the subject's email in the subject name.- Returns:
this
-
requireEmail
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder requireEmail(IResolvable requireEmail) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getRequireEmail()
- Parameters:
requireEmail
- Include the subject's email in the subject name.- Returns:
this
-
sanRequireDirectoryGuid
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder sanRequireDirectoryGuid(Boolean sanRequireDirectoryGuid) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireDirectoryGuid()
- Parameters:
sanRequireDirectoryGuid
- Include the globally unique identifier (GUID) in the subject alternate name.- Returns:
this
-
sanRequireDirectoryGuid
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder sanRequireDirectoryGuid(IResolvable sanRequireDirectoryGuid) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireDirectoryGuid()
- Parameters:
sanRequireDirectoryGuid
- Include the globally unique identifier (GUID) in the subject alternate name.- Returns:
this
-
sanRequireDns
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder sanRequireDns(Boolean sanRequireDns) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireDns()
- Parameters:
sanRequireDns
- Include the DNS in the subject alternate name.- Returns:
this
-
sanRequireDns
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder sanRequireDns(IResolvable sanRequireDns) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireDns()
- Parameters:
sanRequireDns
- Include the DNS in the subject alternate name.- Returns:
this
-
sanRequireDomainDns
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder sanRequireDomainDns(Boolean sanRequireDomainDns) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireDomainDns()
- Parameters:
sanRequireDomainDns
- Include the domain DNS in the subject alternate name.- Returns:
this
-
sanRequireDomainDns
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder sanRequireDomainDns(IResolvable sanRequireDomainDns) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireDomainDns()
- Parameters:
sanRequireDomainDns
- Include the domain DNS in the subject alternate name.- Returns:
this
-
sanRequireEmail
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder sanRequireEmail(Boolean sanRequireEmail) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireEmail()
- Parameters:
sanRequireEmail
- Include the subject's email in the subject alternate name.- Returns:
this
-
sanRequireEmail
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder sanRequireEmail(IResolvable sanRequireEmail) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireEmail()
- Parameters:
sanRequireEmail
- Include the subject's email in the subject alternate name.- Returns:
this
-
sanRequireSpn
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder sanRequireSpn(Boolean sanRequireSpn) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireSpn()
- Parameters:
sanRequireSpn
- Include the service principal name (SPN) in the subject alternate name.- Returns:
this
-
sanRequireSpn
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder sanRequireSpn(IResolvable sanRequireSpn) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireSpn()
- Parameters:
sanRequireSpn
- Include the service principal name (SPN) in the subject alternate name.- Returns:
this
-
sanRequireUpn
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder sanRequireUpn(Boolean sanRequireUpn) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireUpn()
- Parameters:
sanRequireUpn
- Include the user principal name (UPN) in the subject alternate name.- Returns:
this
-
sanRequireUpn
@Stability(Stable) public CfnTemplate.SubjectNameFlagsV3Property.Builder sanRequireUpn(IResolvable sanRequireUpn) Sets the value ofCfnTemplate.SubjectNameFlagsV3Property.getSanRequireUpn()
- Parameters:
sanRequireUpn
- Include the user principal name (UPN) in the subject alternate name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.SubjectNameFlagsV3Property>
- Returns:
- a new instance of
CfnTemplate.SubjectNameFlagsV3Property
- Throws:
NullPointerException
- if any required attribute was not provided
-