Class GetTemplateSummaryRequest

    • Constructor Detail

      • GetTemplateSummaryRequest

        public GetTemplateSummaryRequest()
    • Method Detail

      • setTemplateBody

        public void setTemplateBody​(String templateBody)

        Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

        Parameters:
        templateBody - Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

      • getTemplateBody

        public String getTemplateBody()

        Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

        Returns:
        Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

      • withTemplateBody

        public GetTemplateSummaryRequest withTemplateBody​(String templateBody)

        Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

        Parameters:
        templateBody - Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTemplateURL

        public void setTemplateURL​(String templateURL)

        Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

        Parameters:
        templateURL - Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

      • getTemplateURL

        public String getTemplateURL()

        Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

        Returns:
        Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

      • withTemplateURL

        public GetTemplateSummaryRequest withTemplateURL​(String templateURL)

        Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

        Parameters:
        templateURL - Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStackName

        public void setStackName​(String stackName)

        The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

        Parameters:
        stackName - The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

      • getStackName

        public String getStackName()

        The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

        Returns:
        The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

      • withStackName

        public GetTemplateSummaryRequest withStackName​(String stackName)

        The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

        Parameters:
        stackName - The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.

        Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object