Class EstimateTemplateCostRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudformation.model.EstimateTemplateCostRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class EstimateTemplateCostRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for an EstimateTemplateCost action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description EstimateTemplateCostRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EstimateTemplateCostRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<Parameter>
getParameters()
A list ofParameter
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 ofParameter
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(Parameter... parameters)
A list ofParameter
structures that specify input parameters.EstimateTemplateCostRequest
withParameters(Collection<Parameter> parameters)
A list ofParameter
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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
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
orTemplateURL
. If both are passed, onlyTemplateBody
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
orTemplateURL
. If both are passed, onlyTemplateBody
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
orTemplateURL
. If both are passed, onlyTemplateBody
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
orTemplateURL
. If both are passed, onlyTemplateBody
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
orTemplateURL
. If both are passed, onlyTemplateBody
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
orTemplateURL
. If both are passed, onlyTemplateBody
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
orTemplateBody
. If both are passed, onlyTemplateBody
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
orTemplateBody
. If both are passed, onlyTemplateBody
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
orTemplateBody
. If both are passed, onlyTemplateBody
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
orTemplateBody
. If both are passed, onlyTemplateBody
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
orTemplateBody
. If both are passed, onlyTemplateBody
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
orTemplateBody
. If both are passed, onlyTemplateBody
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 ofParameter
structures that specify input parameters.
-
withParameters
public EstimateTemplateCostRequest withParameters(Parameter... parameters)
A list of
Parameter
structures that specify input parameters.NOTE: This method appends the values to the existing list (if any). Use
setParameters(java.util.Collection)
orwithParameters(java.util.Collection)
if you want to override the existing values.- Parameters:
parameters
- A list ofParameter
structures that specify input parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withParameters
public EstimateTemplateCostRequest withParameters(Collection<Parameter> parameters)
A list of
Parameter
structures that specify input parameters.- Parameters:
parameters
- A list ofParameter
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EstimateTemplateCostRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-