|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudformation.model.ValidateTemplateRequest
public class ValidateTemplateRequest
Container for the parameters to the ValidateTemplate operation.
Validates a specified template.
AmazonCloudFormation.validateTemplate(ValidateTemplateRequest)| Constructor Summary | |
|---|---|
ValidateTemplateRequest()
|
|
| Method Summary | |
|---|---|
String |
getTemplateBody()
String containing the template body. |
String |
getTemplateURL()
Location of file containing the template body. |
void |
setTemplateBody(String templateBody)
String containing the template body. |
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)
String containing the template body. |
ValidateTemplateRequest |
withTemplateURL(String templateURL)
Location of file containing the template body. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValidateTemplateRequest()
| Method Detail |
|---|
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 - String containing the template body. (For more information, go to 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 - String containing the template body. (For more information, go to 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 located in an S3 bucket in the same region as the stack. For
more information, go to 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 located in an S3 bucket in the same region as the stack. For
more information, go to 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 ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||