Interface CreateViewRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, ConnectRequest.Builder, CopyableBuilder<CreateViewRequest.Builder,CreateViewRequest>, SdkBuilder<CreateViewRequest.Builder,CreateViewRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateViewRequest

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

    • instanceId

      CreateViewRequest.Builder instanceId(String instanceId)

      The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

      Parameters:
      instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreateViewRequest.Builder clientToken(String clientToken)

      A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.

      Parameters:
      clientToken - A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

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

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

      The total uncompressed content has a maximum file size of 400kB.

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

      The total uncompressed content has a maximum file size of 400kB.

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

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

      The total uncompressed content has a maximum file size of 400kB.

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

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

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

      CreateViewRequest.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.
    • 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.
    • tags

      The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

      Parameters:
      tags - The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateViewRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.