Class CfnTemplateProps.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplateProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplateProps>
- Enclosing interface:
CfnTemplateProps
@Stability(Stable)
public static final class CfnTemplateProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplateProps>
A builder for
CfnTemplateProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.connectorArn
(String connectorArn) Sets the value ofCfnTemplateProps.getConnectorArn()
definition
(IResolvable definition) Sets the value ofCfnTemplateProps.getDefinition()
definition
(CfnTemplate.TemplateDefinitionProperty definition) Sets the value ofCfnTemplateProps.getDefinition()
Sets the value ofCfnTemplateProps.getName()
reenrollAllCertificateHolders
(Boolean reenrollAllCertificateHolders) Sets the value ofCfnTemplateProps.getReenrollAllCertificateHolders()
reenrollAllCertificateHolders
(IResolvable reenrollAllCertificateHolders) Sets the value ofCfnTemplateProps.getReenrollAllCertificateHolders()
Sets the value ofCfnTemplateProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectorArn
Sets the value ofCfnTemplateProps.getConnectorArn()
- Parameters:
connectorArn
- The Amazon Resource Name (ARN) that was returned when you called CreateConnector . This parameter is required.- Returns:
this
-
definition
Sets the value ofCfnTemplateProps.getDefinition()
- Parameters:
definition
- Template configuration to define the information included in certificates. This parameter is required. 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 CfnTemplateProps.Builder definition(CfnTemplate.TemplateDefinitionProperty definition) Sets the value ofCfnTemplateProps.getDefinition()
- Parameters:
definition
- Template configuration to define the information included in certificates. This parameter is required. 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 ofCfnTemplateProps.getName()
- Parameters:
name
- Name of the templates. This parameter is required. Template names must be unique.- Returns:
this
-
reenrollAllCertificateHolders
@Stability(Stable) public CfnTemplateProps.Builder reenrollAllCertificateHolders(Boolean reenrollAllCertificateHolders) Sets the value ofCfnTemplateProps.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 CfnTemplateProps.Builder reenrollAllCertificateHolders(IResolvable reenrollAllCertificateHolders) Sets the value ofCfnTemplateProps.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 ofCfnTemplateProps.getTags()
- Parameters:
tags
- Metadata assigned to a template consisting of a key-value pair.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplateProps>
- Returns:
- a new instance of
CfnTemplateProps
- Throws:
NullPointerException
- if any required attribute was not provided
-