public class ValidateTemplateRequest extends AmazonWebServiceRequest implements Serializable
ValidateTemplate operation
.
Validates a specified template.
NOOP
Constructor and Description |
---|
ValidateTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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 |
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.
|
ValidateTemplateRequest |
withTemplateBody(String templateBody)
Structure containing the template body with a minimum length of 1 byte
and a maximum length of 51,200 bytes.
|
ValidateTemplateRequest |
withTemplateURL(String templateURL)
Location of file containing the template body.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getTemplateBody()
Conditional: You
must pass TemplateURL
or TemplateBody
. If
both are passed, only TemplateBody
is used.
Constraints:
Length: 1 -
Conditional: You
must pass TemplateURL
or TemplateBody
. If
both are passed, only TemplateBody
is used.
public void setTemplateBody(String templateBody)
Conditional: You
must pass TemplateURL
or TemplateBody
. If
both are passed, only TemplateBody
is used.
Constraints:
Length: 1 -
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 ValidateTemplateRequest withTemplateBody(String templateBody)
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 -
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 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(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 (max size: 307,200 bytes) located in an S3 bucket in the same
region as the stack. 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 ValidateTemplateRequest withTemplateURL(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 (max size: 307,200 bytes) located in an S3 bucket in the same
region as the stack. 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 String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.