Class CfnTemplateMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pcaconnectorad.CfnTemplateMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplateMixinProps>
- Enclosing interface:
CfnTemplateMixinProps
@Stability(Stable)
public static final class CfnTemplateMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplateMixinProps>
A builder for
CfnTemplateMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectorArn(String connectorArn) Sets the value ofCfnTemplateMixinProps.getConnectorArn()Sets the value ofCfnTemplateMixinProps.getDefinition()definition(IResolvable definition) Sets the value ofCfnTemplateMixinProps.getDefinition()Sets the value ofCfnTemplateMixinProps.getName()reenrollAllCertificateHolders(Boolean reenrollAllCertificateHolders) Sets the value ofCfnTemplateMixinProps.getReenrollAllCertificateHolders()reenrollAllCertificateHolders(IResolvable reenrollAllCertificateHolders) Sets the value ofCfnTemplateMixinProps.getReenrollAllCertificateHolders()Sets the value ofCfnTemplateMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectorArn
Sets the value ofCfnTemplateMixinProps.getConnectorArn()- Parameters:
connectorArn- The Amazon Resource Name (ARN) that was returned when you called CreateConnector .- Returns:
this
-
definition
Sets the value ofCfnTemplateMixinProps.getDefinition()- Parameters:
definition- Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.- Returns:
this
-
definition
@Stability(Stable) public CfnTemplateMixinProps.Builder definition(CfnTemplatePropsMixin.TemplateDefinitionProperty definition) Sets the value ofCfnTemplateMixinProps.getDefinition()- Parameters:
definition- Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.- Returns:
this
-
name
Sets the value ofCfnTemplateMixinProps.getName()- Parameters:
name- Name of the templates. Template names must be unique.- Returns:
this
-
reenrollAllCertificateHolders
@Stability(Stable) public CfnTemplateMixinProps.Builder reenrollAllCertificateHolders(Boolean reenrollAllCertificateHolders) Sets the value ofCfnTemplateMixinProps.getReenrollAllCertificateHolders()- Parameters:
reenrollAllCertificateHolders- This setting allows the major version of a template to be increased automatically. All members of Active Directory groups that are allowed to enroll with a template will receive a new certificate issued using that template.- Returns:
this
-
reenrollAllCertificateHolders
@Stability(Stable) public CfnTemplateMixinProps.Builder reenrollAllCertificateHolders(IResolvable reenrollAllCertificateHolders) Sets the value ofCfnTemplateMixinProps.getReenrollAllCertificateHolders()- Parameters:
reenrollAllCertificateHolders- This setting allows the major version of a template to be increased automatically. All members of Active Directory groups that are allowed to enroll with a template will receive a new certificate issued using that template.- Returns:
this
-
tags
Sets the value ofCfnTemplateMixinProps.getTags()- Parameters:
tags- Metadata assigned to a template consisting of a key-value pair.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplateMixinProps>- Returns:
- a new instance of
CfnTemplateMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-