Interface CreateRecommendationTemplateRequest.Builder

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

  • Method Details

    • assessmentArn

      Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition :resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

      Parameters:
      assessmentArn - Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition :resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucketName

      The name of the Amazon S3 bucket that will contain the recommendation template.

      Parameters:
      bucketName - The name of the Amazon S3 bucket that will contain the recommendation template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

      Parameters:
      clientToken - Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • format

      The format for the recommendation template.

      CfnJson

      The template is CloudFormation JSON.

      CfnYaml

      The template is CloudFormation YAML.

      Parameters:
      format - The format for the recommendation template.

      CfnJson

      The template is CloudFormation JSON.

      CfnYaml

      The template is CloudFormation YAML.

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

      The format for the recommendation template.

      CfnJson

      The template is CloudFormation JSON.

      CfnYaml

      The template is CloudFormation YAML.

      Parameters:
      format - The format for the recommendation template.

      CfnJson

      The template is CloudFormation JSON.

      CfnYaml

      The template is CloudFormation YAML.

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

      The name for the recommendation template.

      Parameters:
      name - The name for the recommendation template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationIds

      CreateRecommendationTemplateRequest.Builder recommendationIds(Collection<String> recommendationIds)

      Identifiers for the recommendations used to create a recommendation template.

      Parameters:
      recommendationIds - Identifiers for the recommendations used to create a recommendation template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationIds

      CreateRecommendationTemplateRequest.Builder recommendationIds(String... recommendationIds)

      Identifiers for the recommendations used to create a recommendation template.

      Parameters:
      recommendationIds - Identifiers for the recommendations used to create a recommendation template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationTypesWithStrings

      CreateRecommendationTemplateRequest.Builder recommendationTypesWithStrings(Collection<String> recommendationTypes)

      An array of strings that specify the recommendation template type or types.

      Alarm

      The template is an AlarmRecommendation template.

      Sop

      The template is a SopRecommendation template.

      Test

      The template is a TestRecommendation template.

      Parameters:
      recommendationTypes - An array of strings that specify the recommendation template type or types.

      Alarm

      The template is an AlarmRecommendation template.

      Sop

      The template is a SopRecommendation template.

      Test

      The template is a TestRecommendation template.

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

      CreateRecommendationTemplateRequest.Builder recommendationTypesWithStrings(String... recommendationTypes)

      An array of strings that specify the recommendation template type or types.

      Alarm

      The template is an AlarmRecommendation template.

      Sop

      The template is a SopRecommendation template.

      Test

      The template is a TestRecommendation template.

      Parameters:
      recommendationTypes - An array of strings that specify the recommendation template type or types.

      Alarm

      The template is an AlarmRecommendation template.

      Sop

      The template is a SopRecommendation template.

      Test

      The template is a TestRecommendation template.

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

      An array of strings that specify the recommendation template type or types.

      Alarm

      The template is an AlarmRecommendation template.

      Sop

      The template is a SopRecommendation template.

      Test

      The template is a TestRecommendation template.

      Parameters:
      recommendationTypes - An array of strings that specify the recommendation template type or types.

      Alarm

      The template is an AlarmRecommendation template.

      Sop

      The template is a SopRecommendation template.

      Test

      The template is a TestRecommendation template.

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

      CreateRecommendationTemplateRequest.Builder recommendationTypes(RenderRecommendationType... recommendationTypes)

      An array of strings that specify the recommendation template type or types.

      Alarm

      The template is an AlarmRecommendation template.

      Sop

      The template is a SopRecommendation template.

      Test

      The template is a TestRecommendation template.

      Parameters:
      recommendationTypes - An array of strings that specify the recommendation template type or types.

      Alarm

      The template is an AlarmRecommendation template.

      Sop

      The template is a SopRecommendation template.

      Test

      The template is a TestRecommendation template.

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

      Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.

      Parameters:
      tags - Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.