public class EstimateTemplateCostRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The input for an EstimateTemplateCost action.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Parameter> |
parameters
A list of
Parameter structures that specify input
parameters. |
private java.lang.String |
templateBody
Structure containing the template body with a minimum length of 1 byte
and a maximum length of 51,200 bytes.
|
private java.lang.String |
templateURL
Location of file containing the template body.
|
NOOP
Constructor and Description |
---|
EstimateTemplateCostRequest() |
Modifier and Type | Method and Description |
---|---|
EstimateTemplateCostRequest |
clone()
Creates a shallow clone of this request.
|
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 with a minimum length of 1 byte
and a maximum length of 51,200 bytes.
|
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 with a minimum length of 1 byte
and a maximum length of 51,200 bytes.
|
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 with a minimum length of 1 byte
and a maximum length of 51,200 bytes.
|
EstimateTemplateCostRequest |
withTemplateURL(java.lang.String templateURL)
Location of file containing the template body.
|
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
private java.lang.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.
private java.lang.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.
private SdkInternalList<Parameter> parameters
A list of Parameter
structures that specify input
parameters.
public void setTemplateBody(java.lang.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.
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 java.lang.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.
Conditional: You must pass TemplateBody
or
TemplateURL
. If both are passed, only
TemplateBody
is used.
public EstimateTemplateCostRequest withTemplateBody(java.lang.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.
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 void setTemplateURL(java.lang.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.
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.
public java.lang.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.
Conditional: You must pass TemplateURL
or
TemplateBody
. If both are passed, only
TemplateBody
is used.
public EstimateTemplateCostRequest withTemplateURL(java.lang.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.
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.
public java.util.List<Parameter> getParameters()
A list of Parameter
structures that specify input
parameters.
Parameter
structures that specify input
parameters.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.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)
or
withParameters(java.util.Collection)
if you want to override the
existing values.
parameters
- A list of Parameter
structures that specify input
parameters.public EstimateTemplateCostRequest withParameters(java.util.Collection<Parameter> parameters)
A list of Parameter
structures that specify input
parameters.
parameters
- A list of Parameter
structures that specify input
parameters.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EstimateTemplateCostRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()