Interface ValidateTemplateResponse.Builder

  • Method Details

    • parameters

      A list of TemplateParameter structures.

      Parameters:
      parameters - A list of TemplateParameter structures.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameters

      A list of TemplateParameter structures.

      Parameters:
      parameters - A list of TemplateParameter structures.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameters

      A list of TemplateParameter structures.

      This is a convenience method that creates an instance of the TemplateParameter.Builder avoiding the need to create one manually via TemplateParameter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to parameters(List<TemplateParameter>).

      Parameters:
      parameters - a consumer that will call methods on TemplateParameter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      ValidateTemplateResponse.Builder description(String description)

      The description found within the template.

      Parameters:
      description - The description found within the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capabilitiesWithStrings

      ValidateTemplateResponse.Builder capabilitiesWithStrings(Collection<String> capabilities)

      The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

      For more information, see Acknowledging IAM resources in CloudFormation templates.

      Parameters:
      capabilities - The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

      For more information, see Acknowledging IAM resources in CloudFormation templates.

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

      ValidateTemplateResponse.Builder capabilitiesWithStrings(String... capabilities)

      The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

      For more information, see Acknowledging IAM resources in CloudFormation templates.

      Parameters:
      capabilities - The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

      For more information, see Acknowledging IAM resources in CloudFormation templates.

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

      The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

      For more information, see Acknowledging IAM resources in CloudFormation templates.

      Parameters:
      capabilities - The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

      For more information, see Acknowledging IAM resources in CloudFormation templates.

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

      ValidateTemplateResponse.Builder capabilities(Capability... capabilities)

      The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

      For more information, see Acknowledging IAM resources in CloudFormation templates.

      Parameters:
      capabilities - The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the CreateStack or UpdateStack actions with your template; otherwise, those actions return an InsufficientCapabilities error.

      For more information, see Acknowledging IAM resources in CloudFormation templates.

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

      ValidateTemplateResponse.Builder capabilitiesReason(String capabilitiesReason)

      The list of resources that generated the values in the Capabilities response element.

      Parameters:
      capabilitiesReason - The list of resources that generated the values in the Capabilities response element.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • declaredTransforms

      ValidateTemplateResponse.Builder declaredTransforms(Collection<String> declaredTransforms)

      A list of the transforms that are declared in the template.

      Parameters:
      declaredTransforms - A list of the transforms that are declared in the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • declaredTransforms

      ValidateTemplateResponse.Builder declaredTransforms(String... declaredTransforms)

      A list of the transforms that are declared in the template.

      Parameters:
      declaredTransforms - A list of the transforms that are declared in the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.