Interface UpdateGeneratedTemplateRequest.Builder

    • Method Detail

      • generatedTemplateName

        UpdateGeneratedTemplateRequest.Builder generatedTemplateName​(String generatedTemplateName)

        The name or Amazon Resource Name (ARN) of a generated template.

        Parameters:
        generatedTemplateName - The name or Amazon Resource Name (ARN) of a generated template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • newGeneratedTemplateName

        UpdateGeneratedTemplateRequest.Builder newGeneratedTemplateName​(String newGeneratedTemplateName)

        An optional new name to assign to the generated template.

        Parameters:
        newGeneratedTemplateName - An optional new name to assign to the generated template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addResources

        UpdateGeneratedTemplateRequest.Builder addResources​(Collection<ResourceDefinition> addResources)

        An optional list of resources to be added to the generated template.

        Parameters:
        addResources - An optional list of resources to be added to the generated template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addResources

        UpdateGeneratedTemplateRequest.Builder addResources​(ResourceDefinition... addResources)

        An optional list of resources to be added to the generated template.

        Parameters:
        addResources - An optional list of resources to be added to the generated template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • removeResources

        UpdateGeneratedTemplateRequest.Builder removeResources​(Collection<String> removeResources)

        A list of logical ids for resources to remove from the generated template.

        Parameters:
        removeResources - A list of logical ids for resources to remove from the generated template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • removeResources

        UpdateGeneratedTemplateRequest.Builder removeResources​(String... removeResources)

        A list of logical ids for resources to remove from the generated template.

        Parameters:
        removeResources - A list of logical ids for resources to remove from the generated template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • refreshAllResources

        UpdateGeneratedTemplateRequest.Builder refreshAllResources​(Boolean refreshAllResources)

        If true, update the resource properties in the generated template with their current live state. This feature is useful when the resource properties in your generated a template does not reflect the live state of the resource properties. This happens when a user update the resource properties after generating a template.

        Parameters:
        refreshAllResources - If true, update the resource properties in the generated template with their current live state. This feature is useful when the resource properties in your generated a template does not reflect the live state of the resource properties. This happens when a user update the resource properties after generating a template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • templateConfiguration

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