|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudformation.model.EstimateTemplateCostRequest
public class EstimateTemplateCostRequest
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),
Serialized Form| Constructor Summary | |
|---|---|
EstimateTemplateCostRequest()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EstimateTemplateCostRequest()
| Method Detail |
|---|
public java.lang.String getTemplateBody()
Conditional: You must pass
TemplateBody or TemplateURL. If both are
passed, only TemplateBody is used.
Constraints:
Length: 1 - 51200
Conditional: You must pass
TemplateBody or TemplateURL. If both are
passed, only TemplateBody is used.
public void setTemplateBody(java.lang.String templateBody)
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.
public EstimateTemplateCostRequest withTemplateBody(java.lang.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 - 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.
public java.lang.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(java.lang.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 the AWS
CloudFormation User Guide. Conditional: You must pass
TemplateURL or TemplateBody. If both are
passed, only TemplateBody is used.
public EstimateTemplateCostRequest withTemplateURL(java.lang.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 the AWS
CloudFormation User Guide. Conditional: You must pass
TemplateURL or TemplateBody. If both are
passed, only TemplateBody is used.
public java.util.List<Parameter> getParameters()
Parameter structures that specify input
parameters.
Parameter structures that specify input
parameters.public void setParameters(java.util.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.
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(java.util.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||