com.amazonaws.services.cloudformation.model

## クラス EstimateTemplateCostRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.cloudformation.model.EstimateTemplateCostRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class EstimateTemplateCostRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `EstimateTemplateCost operation`.

  Returns the estimated monthly cost of a template. The return value is an AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template.

  関連項目:
    `AmazonCloudFormation.estimateTemplateCost(EstimateTemplateCostRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `EstimateTemplateCostRequest()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<Parameter>` | `getParameters()` A list of `Parameter` structures that specify input parameters.
    `java.lang.String` | `getTemplateBody()` Structure containing the template body.
    `java.lang.String` | `getTemplateURL()` Location of file containing the template body.
    `int` | `hashCode()`
    `void` | `setParameters(java.util.Collection<Parameter> parameters)` A list of `Parameter` structures that specify input parameters.
    `void` | `setTemplateBody(java.lang.String templateBody)` Structure containing the template body.
    `void` | `setTemplateURL(java.lang.String templateURL)` Location of file containing the template body.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `EstimateTemplateCostRequest` | `withParameters(java.util.Collection<Parameter> parameters)` A list of `Parameter` structures that specify input parameters.
    `EstimateTemplateCostRequest` | `withParameters(Parameter... parameters)` A list of `Parameter` structures that specify input parameters.
    `EstimateTemplateCostRequest` | `withTemplateBody(java.lang.String templateBody)` Structure containing the template body.
    `EstimateTemplateCostRequest` | `withTemplateURL(java.lang.String templateURL)` Location of file containing the template body.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### EstimateTemplateCostRequest

          public EstimateTemplateCostRequest()

  - ### メソッドの詳細

    - #### getTemplateBody

          public java.lang.String getTemplateBody()

      Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)

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

      Constraints:
      Length: 1 - 51200

      戻り値:
        Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)

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

    - #### setTemplateBody

          public void setTemplateBody(java.lang.String templateBody)

      Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)

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

      Constraints:
      Length: 1 - 51200

      パラメータ:
        `templateBody` - Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)

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

    - #### withTemplateBody

          public EstimateTemplateCostRequest withTemplateBody(java.lang.String templateBody)

      Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)

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

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

      Constraints:
      Length: 1 - 51200

      パラメータ:
        `templateBody` - Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)

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

    - #### getTemplateURL

          public java.lang.String getTemplateURL()

      Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to the AWS CloudFormation User Guide.

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

      Constraints:
      Length: 1 - 1024

      戻り値:
        Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to the AWS CloudFormation User Guide.

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

    - #### setTemplateURL

          public void setTemplateURL(java.lang.String templateURL)

      Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to the AWS CloudFormation User Guide.

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

      Constraints:
      Length: 1 - 1024

      パラメータ:
        `templateURL` - Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to the AWS CloudFormation User Guide.

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

    - #### withTemplateURL

          public EstimateTemplateCostRequest withTemplateURL(java.lang.String templateURL)

      Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to the AWS CloudFormation User Guide.

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

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

      Constraints:
      Length: 1 - 1024

      パラメータ:
        `templateURL` - Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to the AWS CloudFormation User Guide.

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

    - #### getParameters

          public java.util.List<Parameter> getParameters()

      A list of `Parameter` structures that specify input parameters.
      戻り値:
        A list of `Parameter` structures that specify input parameters.

    - #### setParameters

          public void setParameters(java.util.Collection<Parameter> parameters)

      A list of `Parameter` structures that specify input parameters.
      パラメータ:
        `parameters` - A list of `Parameter` structures that specify input parameters.

    - #### withParameters

          public EstimateTemplateCostRequest withParameters(Parameter... parameters)

      A list of `Parameter` structures that specify input parameters.

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

      パラメータ:
        `parameters` - A list of `Parameter` structures that specify input parameters.

    - #### withParameters

          public EstimateTemplateCostRequest withParameters(java.util.Collection<Parameter> parameters)

      A list of `Parameter` structures that specify input parameters.

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

      パラメータ:
        `parameters` - A list of `Parameter` structures that specify input parameters.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`