Interface DescribeGeneratedTemplateResponse.Builder

    • Method Detail

      • generatedTemplateId

        DescribeGeneratedTemplateResponse.Builder generatedTemplateId​(String generatedTemplateId)

        The Amazon Resource Name (ARN) of the generated template. The format is arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}. For example, arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc .

        Parameters:
        generatedTemplateId - The Amazon Resource Name (ARN) of the generated template. The format is arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}. For example, arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc .
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • generatedTemplateName

        DescribeGeneratedTemplateResponse.Builder generatedTemplateName​(String generatedTemplateName)

        The name of the generated template.

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

        DescribeGeneratedTemplateResponse.Builder resources​(Collection<ResourceDetail> resources)

        A list of objects describing the details of the resources in the template generation.

        Parameters:
        resources - A list of objects describing the details of the resources in the template generation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        DescribeGeneratedTemplateResponse.Builder resources​(ResourceDetail... resources)

        A list of objects describing the details of the resources in the template generation.

        Parameters:
        resources - A list of objects describing the details of the resources in the template generation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        DescribeGeneratedTemplateResponse.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

        DescribeGeneratedTemplateResponse.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
      • statusReason

        DescribeGeneratedTemplateResponse.Builder statusReason​(String statusReason)

        The reason for the current template generation status. This will provide more details if a failure happened.

        Parameters:
        statusReason - The reason for the current template generation status. This will provide more details if a failure happened.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        DescribeGeneratedTemplateResponse.Builder creationTime​(Instant creationTime)

        The time the generated template was created.

        Parameters:
        creationTime - The time the generated template was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTime

        DescribeGeneratedTemplateResponse.Builder lastUpdatedTime​(Instant lastUpdatedTime)

        The time the generated template was last updated.

        Parameters:
        lastUpdatedTime - The time the generated template was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • progress

        DescribeGeneratedTemplateResponse.Builder progress​(TemplateProgress progress)

        An object describing the progress of the template generation.

        Parameters:
        progress - An object describing the progress of the template generation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stackId

        DescribeGeneratedTemplateResponse.Builder stackId​(String stackId)

        The stack ARN of the base stack if a base stack was provided when generating the template.

        Parameters:
        stackId - The stack ARN of the base stack if a base stack was provided when generating the template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • templateConfiguration

        DescribeGeneratedTemplateResponse.Builder templateConfiguration​(TemplateConfiguration templateConfiguration)

        The configuration details of the generated template, including the DeletionPolicy and UpdateReplacePolicy.

        Parameters:
        templateConfiguration - The configuration details of the generated template, including the DeletionPolicy and UpdateReplacePolicy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalWarnings

        DescribeGeneratedTemplateResponse.Builder totalWarnings​(Integer totalWarnings)

        The number of warnings generated for this template. The warnings are found in the details of each of the resources in the template.

        Parameters:
        totalWarnings - The number of warnings generated for this template. The warnings are found in the details of each of the resources in the template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.