Interface View.Builder

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

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

    • id

      The identifier of the view.

      Parameters:
      id - The identifier of the view.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      View.Builder arn(String arn)

      The Amazon Resource Name (ARN) of the view.

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

      View.Builder name(String name)

      The name of the view.

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

      View.Builder status(String status)

      Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.

      Parameters:
      status - Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      View.Builder status(ViewStatus status)

      Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.

      Parameters:
      status - Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      View.Builder type(String type)

      The type of the view - CUSTOMER_MANAGED.

      Parameters:
      type - The type of the view - CUSTOMER_MANAGED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      View.Builder type(ViewType type)

      The type of the view - CUSTOMER_MANAGED.

      Parameters:
      type - The type of the view - CUSTOMER_MANAGED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      View.Builder description(String description)

      The description of the view.

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

      View.Builder version(Integer version)

      Current version of the view.

      Parameters:
      version - Current version of the view.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • versionDescription

      View.Builder versionDescription(String versionDescription)

      The description of the version.

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

      View.Builder content(ViewContent content)

      View content containing all content necessary to render a view except for runtime input data.

      Parameters:
      content - View content containing all content necessary to render a view except for runtime input data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      default View.Builder content(Consumer<ViewContent.Builder> content)

      View content containing all content necessary to render a view except for runtime input data.

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

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

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

      The tags associated with the view resource (not specific to view version).

      Parameters:
      tags - The tags associated with the view resource (not specific to view version).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTime

      View.Builder createdTime(Instant createdTime)

      The timestamp of when the view was created.

      Parameters:
      createdTime - The timestamp of when the view was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      View.Builder lastModifiedTime(Instant lastModifiedTime)

      Latest timestamp of the UpdateViewContent or CreateViewVersion operations.

      Parameters:
      lastModifiedTime - Latest timestamp of the UpdateViewContent or CreateViewVersion operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • viewContentSha256

      View.Builder viewContentSha256(String viewContentSha256)

      Indicates the checksum value of the latest published view content.

      Parameters:
      viewContentSha256 - Indicates the checksum value of the latest published view content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.