public class ValidateTemplateRequest extends AmazonWebServiceRequest implements java.io.Serializable
ValidateTemplate operation.
Validates a specified template.
| コンストラクタと説明 |
|---|
ValidateTemplateRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTemplateBody()
String containing the template body.
|
java.lang.String |
getTemplateURL()
Location of file containing the template body.
|
int |
hashCode() |
void |
setTemplateBody(java.lang.String templateBody)
String containing the template body.
|
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)
String containing the template body.
|
ValidateTemplateRequest |
withTemplateURL(java.lang.String templateURL)
Location of file containing the template body.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getTemplateBody()
Conditional: You must pass
TemplateURL or TemplateBody. If both are
passed, only TemplateBody is used.
Constraints:
Length: 1 - 51200
Conditional: You must pass
TemplateURL or TemplateBody. If both are
passed, only TemplateBody is used.
public void setTemplateBody(java.lang.String templateBody)
Conditional: You must pass
TemplateURL or TemplateBody. If both are
passed, only TemplateBody is used.
Constraints:
Length: 1 - 51200
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(java.lang.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 - 51200
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 java.lang.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(java.lang.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 the AWS
CloudFormation User Guide. Conditional: You must pass
TemplateURL or TemplateBody. If both are
passed, only TemplateBody is used.
public ValidateTemplateRequest withTemplateURL(java.lang.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 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 クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object