Interface Template.Builder

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

@Mutable @NotThreadSafe public static interface Template.Builder extends SdkPojo, CopyableBuilder<Template.Builder,Template>
  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the template.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The display name of the template.

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

      A structure describing the versions of the template.

      Parameters:
      version - A structure describing the versions of the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      A structure describing the versions of the template.

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

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

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

      Template.Builder templateId(String templateId)

      The ID for the template. This is unique per Amazon Web Services Region for each Amazon Web Services account.

      Parameters:
      templateId - The ID for the template. This is unique per Amazon Web Services Region for each Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      Template.Builder lastUpdatedTime(Instant lastUpdatedTime)

      Time when this was last updated.

      Parameters:
      lastUpdatedTime - Time when this was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTime

      Template.Builder createdTime(Instant createdTime)

      Time when this was created.

      Parameters:
      createdTime - Time when this was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.