Interface TemplateSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TemplateSummary.Builder,TemplateSummary>, SdkBuilder<TemplateSummary.Builder,TemplateSummary>, SdkPojo
Enclosing class:
TemplateSummary

public static interface TemplateSummary.Builder extends SdkPojo, CopyableBuilder<TemplateSummary.Builder,TemplateSummary>
  • Method Details

    • arn

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

      Parameters:
      arn - 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.
    • connectorArn

      TemplateSummary.Builder connectorArn(String connectorArn)

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

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

      TemplateSummary.Builder createdAt(Instant createdAt)

      The date and time that the template was created.

      Parameters:
      createdAt - The date and time that the template was created.
      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.

      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:
    • name

      Name of the template. The template name must be unique.

      Parameters:
      name - Name of the template. The template name must be unique.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectIdentifier

      TemplateSummary.Builder objectIdentifier(String objectIdentifier)

      Object identifier of a template.

      Parameters:
      objectIdentifier - Object identifier of a template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policySchema

      TemplateSummary.Builder policySchema(Integer policySchema)

      The template schema version. Template schema versions can be v2, v3, or v4. The template configuration options change based on the template schema version.

      Parameters:
      policySchema - The template schema version. Template schema versions can be v2, v3, or v4. The template configuration options change based on the template schema version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revision

      The revision version of the template. Template updates will increment the minor revision. Re-enrolling all certificate holders will increment the major revision.

      Parameters:
      revision - The revision version of the template. Template updates will increment the minor revision. Re-enrolling all certificate holders will increment the major revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revision

      The revision version of the template. Template updates will increment the minor revision. Re-enrolling all certificate holders will increment the major revision.

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

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

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

      Status of the template. Status can be creating, active, deleting, or failed.

      Parameters:
      status - Status of the template. Status can be creating, active, deleting, or failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Status of the template. Status can be creating, active, deleting, or failed.

      Parameters:
      status - Status of the template. Status can be creating, active, deleting, or failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updatedAt

      TemplateSummary.Builder updatedAt(Instant updatedAt)

      The date and time that the template was updated.

      Parameters:
      updatedAt - The date and time that the template was updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.