Class EstimateTemplateCostRequest

    • Constructor Detail

      • EstimateTemplateCostRequest

        public EstimateTemplateCostRequest()
    • 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, go to Template Anatomy in the AWS CloudFormation User Guide.)

        Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

        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, go to Template Anatomy in the AWS CloudFormation User Guide.)

        Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

      • 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, go to Template Anatomy in the AWS CloudFormation User Guide.)

        Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

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

        Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

      • withTemplateBody

        public EstimateTemplateCostRequest 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, go to Template Anatomy in the AWS CloudFormation User Guide.)

        Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

        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, go to Template Anatomy in the AWS CloudFormation User Guide.)

        Conditional: You must pass TemplateBody or TemplateURL. If both are passed, only TemplateBody is used.

        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 that is located in an Amazon S3 bucket. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

        Parameters:
        templateURL - Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

      • getTemplateURL

        public String getTemplateURL()

        Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

        Returns:
        Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

      • withTemplateURL

        public EstimateTemplateCostRequest withTemplateURL​(String templateURL)

        Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

        Parameters:
        templateURL - Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

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

        public List<Parameter> getParameters()

        A list of Parameter structures that specify input parameters.

        Returns:
        A list of Parameter structures that specify input parameters.
      • setParameters

        public void setParameters​(Collection<Parameter> parameters)

        A list of Parameter structures that specify input parameters.

        Parameters:
        parameters - A list of Parameter structures that specify input parameters.
      • withParameters

        public EstimateTemplateCostRequest withParameters​(Collection<Parameter> parameters)

        A list of Parameter structures that specify input parameters.

        Parameters:
        parameters - A list of Parameter structures that specify input parameters.
        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