Interface GetGeneratedTemplateResponse.Builder

    • Method Detail

      • status

        GetGeneratedTemplateResponse.Builder status​(String status)

        The status of the template generation. Supported values are:

        • CreatePending - the creation of the template is pending.

        • CreateInProgress - the creation of the template is in progress.

        • DeletePending - the deletion of the template is pending.

        • DeleteInProgress - the deletion of the template is in progress.

        • UpdatePending - the update of the template is pending.

        • UpdateInProgress - the update of the template is in progress.

        • Failed - the template operation failed.

        • Complete - the template operation is complete.

        Parameters:
        status - The status of the template generation. Supported values are:

        • CreatePending - the creation of the template is pending.

        • CreateInProgress - the creation of the template is in progress.

        • DeletePending - the deletion of the template is pending.

        • DeleteInProgress - the deletion of the template is in progress.

        • UpdatePending - the update of the template is pending.

        • UpdateInProgress - the update of the template is in progress.

        • Failed - the template operation failed.

        • Complete - the template operation is complete.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GeneratedTemplateStatus, GeneratedTemplateStatus
      • status

        GetGeneratedTemplateResponse.Builder status​(GeneratedTemplateStatus status)

        The status of the template generation. Supported values are:

        • CreatePending - the creation of the template is pending.

        • CreateInProgress - the creation of the template is in progress.

        • DeletePending - the deletion of the template is pending.

        • DeleteInProgress - the deletion of the template is in progress.

        • UpdatePending - the update of the template is pending.

        • UpdateInProgress - the update of the template is in progress.

        • Failed - the template operation failed.

        • Complete - the template operation is complete.

        Parameters:
        status - The status of the template generation. Supported values are:

        • CreatePending - the creation of the template is pending.

        • CreateInProgress - the creation of the template is in progress.

        • DeletePending - the deletion of the template is pending.

        • DeleteInProgress - the deletion of the template is in progress.

        • UpdatePending - the update of the template is pending.

        • UpdateInProgress - the update of the template is in progress.

        • Failed - the template operation failed.

        • Complete - the template operation is complete.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GeneratedTemplateStatus, GeneratedTemplateStatus
      • templateBody

        GetGeneratedTemplateResponse.Builder templateBody​(String templateBody)

        The template body of the generated template, in the language specified by the Language parameter.

        Parameters:
        templateBody - The template body of the generated template, in the language specified by the Language parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.