@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EstimateTemplateCostRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for an EstimateTemplateCost action.
NOOP
Constructor and Description |
---|
EstimateTemplateCostRequest() |
Modifier and Type | Method and Description |
---|---|
EstimateTemplateCostRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 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 CloudFormation User Guide.)
Conditional: You must pass TemplateBody
or TemplateURL
. If both are passed, only
TemplateBody
is used.
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 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(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 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 CloudFormation User Guide.)
Conditional: You must pass TemplateBody
or TemplateURL
. If both are passed, only
TemplateBody
is used.
public void setTemplateURL(String templateURL)
Location of file containing the template body. The URL must point to a template that's located in an Amazon S3
bucket or a Systems Manager document. For more information, go to Template Anatomy
in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with
https://
.
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's located in an
Amazon S3 bucket or a Systems Manager document. For more information, go to Template
Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with
https://
.
Conditional: You must pass TemplateURL
or TemplateBody
. If both are passed, only
TemplateBody
is used.
public String getTemplateURL()
Location of file containing the template body. The URL must point to a template that's located in an Amazon S3
bucket or a Systems Manager document. For more information, go to Template Anatomy
in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with
https://
.
Conditional: You must pass TemplateURL
or TemplateBody
. If both are passed, only
TemplateBody
is used.
https://
.
Conditional: You must pass TemplateURL
or TemplateBody
. If both are passed,
only TemplateBody
is used.
public EstimateTemplateCostRequest withTemplateURL(String templateURL)
Location of file containing the template body. The URL must point to a template that's located in an Amazon S3
bucket or a Systems Manager document. For more information, go to Template Anatomy
in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with
https://
.
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's located in an
Amazon S3 bucket or a Systems Manager document. For more information, go to Template
Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with
https://
.
Conditional: You must pass TemplateURL
or TemplateBody
. If both are passed, only
TemplateBody
is used.
public List<Parameter> getParameters()
A list of Parameter
structures that specify input parameters.
Parameter
structures that specify input parameters.public void setParameters(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(Collection<Parameter> parameters)
A list of Parameter
structures that specify input parameters.
parameters
- A list of Parameter
structures that specify input parameters.public String toString()
toString
in class Object
Object.toString()
public EstimateTemplateCostRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()