Interface CreateRecommendationTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRecommendationTemplateRequest.Builder,CreateRecommendationTemplateRequest>,ResiliencehubRequest.Builder,SdkBuilder<CreateRecommendationTemplateRequest.Builder,CreateRecommendationTemplateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateRecommendationTemplateRequest
public static interface CreateRecommendationTemplateRequest.Builder extends ResiliencehubRequest.Builder, SdkPojo, CopyableBuilder<CreateRecommendationTemplateRequest.Builder,CreateRecommendationTemplateRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
assessmentArn
CreateRecommendationTemplateRequest.Builder assessmentArn(String 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
CreateRecommendationTemplateRequest.Builder bucketName(String 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
CreateRecommendationTemplateRequest.Builder clientToken(String 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
CreateRecommendationTemplateRequest.Builder format(String 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:
TemplateFormat,TemplateFormat
-
format
CreateRecommendationTemplateRequest.Builder format(TemplateFormat 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:
TemplateFormat,TemplateFormat
-
name
CreateRecommendationTemplateRequest.Builder name(String 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
CreateRecommendationTemplateRequest.Builder recommendationTypes(Collection<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.
-
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
CreateRecommendationTemplateRequest.Builder tags(Map<String,String> 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
CreateRecommendationTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRecommendationTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-