/** * <p> * 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 <a * href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a> * in the AWS CloudFormation User Guide. * </p> * <p> * Conditional: You must pass <code>TemplateURL</code> or <code>TemplateBody</code>. If both are passed, only * <code>TemplateBody</code> is used. * </p> * * @param 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 <a * href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template * Anatomy</a> in the AWS CloudFormation User Guide.</p> * <p> * Conditional: You must pass <code>TemplateURL</code> or <code>TemplateBody</code>. If both are passed, only * <code>TemplateBody</code> is used. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidateTemplateRequest withTemplateURL(String templateURL) { setTemplateURL(templateURL); return this; }
/** * <p> * 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 <a * href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a> * in the AWS CloudFormation User Guide. * </p> * <p> * Conditional: You must pass <code>TemplateURL</code> or <code>TemplateBody</code>. If both are passed, only * <code>TemplateBody</code> is used. * </p> * * @param 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 <a * href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template * Anatomy</a> in the AWS CloudFormation User Guide.</p> * <p> * Conditional: You must pass <code>TemplateURL</code> or <code>TemplateBody</code>. If both are passed, only * <code>TemplateBody</code> is used. * @return Returns a reference to this object so that method calls can be chained together. */ public ValidateTemplateRequest withTemplateURL(String templateURL) { setTemplateURL(templateURL); return this; }