public class EstimateTemplateCostRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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.
NOOP| Constructor and Description |
|---|
EstimateTemplateCostRequest() |
| Modifier and Type | Method and Description |
|---|---|
EstimateTemplateCostRequest |
clone() |
boolean |
equals(Object obj) |
List<Parameter> |
getParameters()
A list of
Parameter structures that specify input
parameters. |
String |
getTemplateBody()
Structure containing the template body with a minimum length of 1 byte
and a maximum length of 51,200 bytes.
|
String |
getTemplateURL()
Location of file containing the template body.
|
int |
hashCode() |
void |
setParameters(Collection<Parameter> parameters)
A list of
Parameter structures that specify input
parameters. |
void |
setTemplateBody(String templateBody)
Structure containing the template body with a minimum length of 1 byte
and a maximum length of 51,200 bytes.
|
void |
setTemplateURL(String templateURL)
Location of file containing the template body.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EstimateTemplateCostRequest |
withParameters(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(String templateBody)
Structure containing the template body with a minimum length of 1 byte
and a maximum length of 51,200 bytes.
|
EstimateTemplateCostRequest |
withTemplateURL(String templateURL)
Location of file containing the template body.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getTemplateBody()
Conditional: You
must pass TemplateBody or TemplateURL. If
both are passed, only TemplateBody is used.
Constraints:
Length: 1 -
Conditional: You
must pass TemplateBody or TemplateURL. If
both are passed, only TemplateBody is used.
public void setTemplateBody(String templateBody)
Conditional: You
must pass TemplateBody or TemplateURL. If
both are passed, only TemplateBody is used.
Constraints:
Length: 1 -
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.
public EstimateTemplateCostRequest withTemplateBody(String templateBody)
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 -
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.
public String getTemplateURL()
Conditional: You
must pass TemplateURL or TemplateBody. If
both are passed, only TemplateBody is used.
Constraints:
Length: 1 - 1024
Conditional: You
must pass TemplateURL or TemplateBody. If
both are passed, only TemplateBody is used.
public void setTemplateURL(String templateURL)
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 Template
Anatomy in the AWS CloudFormation User Guide. Conditional: You
must pass TemplateURL or TemplateBody. If
both are passed, only TemplateBody is used.
public EstimateTemplateCostRequest withTemplateURL(String templateURL)
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 Template
Anatomy in the AWS CloudFormation User Guide. Conditional: You
must pass TemplateURL or TemplateBody. If
both are passed, only TemplateBody is used.
public List<Parameter> getParameters()
Parameter structures that specify input
parameters.Parameter structures that specify input
parameters.public void setParameters(Collection<Parameter> parameters)
Parameter structures that specify input
parameters.parameters - A list of Parameter structures that specify input
parameters.public EstimateTemplateCostRequest withParameters(Parameter... parameters)
Parameter structures that specify input
parameters.
NOTE: This method appends the values to the existing list (if
any). Use setParameters(java.util.Collection) or withParameters(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
parameters - A list of Parameter structures that specify input
parameters.public EstimateTemplateCostRequest withParameters(Collection<Parameter> parameters)
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.public String toString()
toString in class ObjectObject.toString()public EstimateTemplateCostRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.