Interface ValidateTemplateRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CloudFormationRequest.Builder, CopyableBuilder<ValidateTemplateRequest.Builder,ValidateTemplateRequest>, SdkBuilder<ValidateTemplateRequest.Builder,ValidateTemplateRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ValidateTemplateRequest

public static interface ValidateTemplateRequest.Builder extends CloudFormationRequest.Builder, SdkPojo, CopyableBuilder<ValidateTemplateRequest.Builder,ValidateTemplateRequest>
  • Method Details

    • templateBody

      ValidateTemplateRequest.Builder templateBody(String 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 CloudFormation User Guide.

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

      Parameters:
      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 CloudFormation User Guide.

      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)

      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 or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. 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 - 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 or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. 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.
    • overrideConfiguration

      ValidateTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.