Interface GetTemplateResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, ConnectCasesResponse.Builder, CopyableBuilder<GetTemplateResponse.Builder,GetTemplateResponse>, SdkBuilder<GetTemplateResponse.Builder,GetTemplateResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetTemplateResponse

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

    • createdTime

      GetTemplateResponse.Builder createdTime(Instant createdTime)

      Timestamp at which the resource was created.

      Parameters:
      createdTime - Timestamp at which the resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deleted

      Denotes whether or not the resource has been deleted.

      Parameters:
      deleted - Denotes whether or not the resource has been deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetTemplateResponse.Builder description(String description)

      A brief description of the template.

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

      GetTemplateResponse.Builder lastModifiedTime(Instant lastModifiedTime)

      Timestamp at which the resource was created or last modified.

      Parameters:
      lastModifiedTime - Timestamp at which the resource was created or last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • layoutConfiguration

      GetTemplateResponse.Builder layoutConfiguration(LayoutConfiguration layoutConfiguration)

      Configuration of layouts associated to the template.

      Parameters:
      layoutConfiguration - Configuration of layouts associated to the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • layoutConfiguration

      default GetTemplateResponse.Builder layoutConfiguration(Consumer<LayoutConfiguration.Builder> layoutConfiguration)

      Configuration of layouts associated to the template.

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

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

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

      The name of the template.

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

      GetTemplateResponse.Builder requiredFields(Collection<RequiredField> requiredFields)

      A list of fields that must contain a value for a case to be successfully created with this template.

      Parameters:
      requiredFields - A list of fields that must contain a value for a case to be successfully created with this template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requiredFields

      GetTemplateResponse.Builder requiredFields(RequiredField... requiredFields)

      A list of fields that must contain a value for a case to be successfully created with this template.

      Parameters:
      requiredFields - A list of fields that must contain a value for a case to be successfully created with this template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requiredFields

      GetTemplateResponse.Builder requiredFields(Consumer<RequiredField.Builder>... requiredFields)

      A list of fields that must contain a value for a case to be successfully created with this template.

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

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

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

      The status of the template.

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

      The status of the template.

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

      A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

      Parameters:
      tags - A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • templateArn

      GetTemplateResponse.Builder templateArn(String templateArn)

      The Amazon Resource Name (ARN) of the template.

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

      GetTemplateResponse.Builder templateId(String templateId)

      A unique identifier of a template.

      Parameters:
      templateId - A unique identifier of a template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.