public class ValidateTemplateRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The input for ValidateTemplate action.
Modifier and Type | Field and Description |
---|---|
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 |
---|
ValidateTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
ValidateTemplateRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
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 |
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.
|
ValidateTemplateRequest |
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.
|
ValidateTemplateRequest |
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 TemplateURL
or
TemplateBody
. 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 (max size: 460,800 bytes) 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 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 TemplateURL
or
TemplateBody
. 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 TemplateURL
or
TemplateBody
. 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 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 ValidateTemplateRequest 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 TemplateURL
or
TemplateBody
. 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 TemplateURL
or
TemplateBody
. 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 (max size: 460,800 bytes) 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 (max size: 460,800 bytes) 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 (max size: 460,800 bytes) 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 ValidateTemplateRequest withTemplateURL(java.lang.String templateURL)
Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) 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 (max size: 460,800 bytes) 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 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 ValidateTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()