Interface ValidateTemplateRequest.Builder

    • Method Detail

      • templateBody

        ValidateTemplateRequest.Builder templateBody​(String templateBody)

        Structure that contains the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

        Parameters:
        templateBody - Structure that contains the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • templateURL

        ValidateTemplateRequest.Builder templateURL​(String templateURL)

        The URL of a file that contains the template body. The URL must point to a template (max size: 1 MB) that is located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

        Parameters:
        templateURL - The URL of a file that contains the template body. The URL must point to a template (max size: 1 MB) that is located in an Amazon S3 bucket or a Systems Manager document. The location for an Amazon S3 bucket must start with https://.

        Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

        Returns:
        Returns a reference to this object so that method calls can be chained together.