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

      View.Builder version(Integer version)

      The current version of the view.

      Parameters:
      version - The current version of the view.
      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: