Interface DescribeGeneratedTemplateResponse.Builder

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

  • Method Details

    • 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

      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

      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

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

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

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

      Parameters:
      resources - a consumer that will call methods on ResourceDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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:
    • 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

      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

      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.
    • progress

      An object describing the progress of the template generation.

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

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

      Parameters:
      progress - a consumer that will call methods on TemplateProgress.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • templateConfiguration

      default DescribeGeneratedTemplateResponse.Builder templateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration)

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

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

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

      Parameters:
      templateConfiguration - a consumer that will call methods on TemplateConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.