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 Details

    • Builder

      public Builder()
  • Method Details

    • connectorArn

      @Stability(Stable) public CfnTemplateProps.Builder connectorArn(String connectorArn)
      Parameters:
      connectorArn - The Amazon Resource Name (ARN) that was returned when you called CreateConnector . This parameter is required.
      Returns:
      this
    • definition

      @Stability(Stable) public CfnTemplateProps.Builder definition(IResolvable definition)
      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)
      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

      @Stability(Stable) public CfnTemplateProps.Builder name(String name)
      Sets the value of CfnTemplateProps.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)
      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)
      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

      @Stability(Stable) public CfnTemplateProps.Builder tags(Map<String,String> tags)
      Sets the value of CfnTemplateProps.getTags()
      Parameters:
      tags - Metadata assigned to a template consisting of a key-value pair.
      Returns:
      this
    • build

      @Stability(Stable) public CfnTemplateProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnTemplateProps>
      Returns:
      a new instance of CfnTemplateProps
      Throws:
      NullPointerException - if any required attribute was not provided