Interface UpdateTemplateRequest.Builder

  • Method Details

    • 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.

      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:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      This is a convenience method that creates an instance of the TemplateDefinition.Builder avoiding the need to create one manually via TemplateDefinition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to definition(TemplateDefinition).

      Parameters:
      definition - a consumer that will call methods on TemplateDefinition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reenrollAllCertificateHolders

      UpdateTemplateRequest.Builder reenrollAllCertificateHolders(Boolean 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.

      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:
      Returns a reference to this object so that method calls can be chained together.
    • templateArn

      UpdateTemplateRequest.Builder templateArn(String templateArn)

      The Amazon Resource Name (ARN) that was returned when you called CreateTemplate.

      Parameters:
      templateArn - The Amazon Resource Name (ARN) that was returned when you called CreateTemplate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.