Interface TemplateVersion.Builder

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

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

    • createdTime

      TemplateVersion.Builder createdTime(Instant createdTime)

      The time that this template version was created.

      Parameters:
      createdTime - The time that this template version was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      Errors associated with this template version.

      Parameters:
      errors - Errors associated with this template version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      Errors associated with this template version.

      Parameters:
      errors - Errors associated with this template version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      Errors associated with this template version.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errors(List<TemplateError>).

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

      TemplateVersion.Builder versionNumber(Long versionNumber)

      The version number of the template version.

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

      The status that is associated with the template.

      • CREATION_IN_PROGRESS

      • CREATION_SUCCESSFUL

      • CREATION_FAILED

      • UPDATE_IN_PROGRESS

      • UPDATE_SUCCESSFUL

      • UPDATE_FAILED

      • DELETED

      Parameters:
      status - The status that is associated with the template.

      • CREATION_IN_PROGRESS

      • CREATION_SUCCESSFUL

      • CREATION_FAILED

      • UPDATE_IN_PROGRESS

      • UPDATE_SUCCESSFUL

      • UPDATE_FAILED

      • DELETED

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status that is associated with the template.

      • CREATION_IN_PROGRESS

      • CREATION_SUCCESSFUL

      • CREATION_FAILED

      • UPDATE_IN_PROGRESS

      • UPDATE_SUCCESSFUL

      • UPDATE_FAILED

      • DELETED

      Parameters:
      status - The status that is associated with the template.

      • CREATION_IN_PROGRESS

      • CREATION_SUCCESSFUL

      • CREATION_FAILED

      • UPDATE_IN_PROGRESS

      • UPDATE_SUCCESSFUL

      • UPDATE_FAILED

      • DELETED

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataSetConfigurations

      TemplateVersion.Builder dataSetConfigurations(Collection<DataSetConfiguration> dataSetConfigurations)

      Schema of the dataset identified by the placeholder. Any dashboard created from this template should be bound to new datasets matching the same schema described through this API operation.

      Parameters:
      dataSetConfigurations - Schema of the dataset identified by the placeholder. Any dashboard created from this template should be bound to new datasets matching the same schema described through this API operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSetConfigurations

      TemplateVersion.Builder dataSetConfigurations(DataSetConfiguration... dataSetConfigurations)

      Schema of the dataset identified by the placeholder. Any dashboard created from this template should be bound to new datasets matching the same schema described through this API operation.

      Parameters:
      dataSetConfigurations - Schema of the dataset identified by the placeholder. Any dashboard created from this template should be bound to new datasets matching the same schema described through this API operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSetConfigurations

      TemplateVersion.Builder dataSetConfigurations(Consumer<DataSetConfiguration.Builder>... dataSetConfigurations)

      Schema of the dataset identified by the placeholder. Any dashboard created from this template should be bound to new datasets matching the same schema described through this API operation.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataSetConfigurations(List<DataSetConfiguration>).

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

      TemplateVersion.Builder description(String description)

      The description of the template.

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

      TemplateVersion.Builder sourceEntityArn(String sourceEntityArn)

      The Amazon Resource Name (ARN) of an analysis or template that was used to create this template.

      Parameters:
      sourceEntityArn - The Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • themeArn

      TemplateVersion.Builder themeArn(String themeArn)

      The ARN of the theme associated with this version of the template.

      Parameters:
      themeArn - The ARN of the theme associated with this version of the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sheets

      A list of the associated sheets with the unique identifier and name of each sheet.

      Parameters:
      sheets - A list of the associated sheets with the unique identifier and name of each sheet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sheets

      TemplateVersion.Builder sheets(Sheet... sheets)

      A list of the associated sheets with the unique identifier and name of each sheet.

      Parameters:
      sheets - A list of the associated sheets with the unique identifier and name of each sheet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sheets

      A list of the associated sheets with the unique identifier and name of each sheet.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sheets(List<Sheet>).

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