Interface GetTemplateResponse.Builder

    • Method Detail

      • 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

        GetTemplateResponse.Builder deleted​(Boolean 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.
      • name

        GetTemplateResponse.Builder name​(String 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.
      • tags

        GetTemplateResponse.Builder tags​(Map<String,​String> 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.