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 Summary
Modifier and TypeMethodDescriptionassessmentArn
(String assessmentArn) Amazon Resource Name (ARN) of the assessment.bucketName
(String bucketName) The name of the Amazon S3 bucket that will contain the recommendation template.clientToken
(String clientToken) Used for an idempotency token.The format for the recommendation template.format
(TemplateFormat format) The format for the recommendation template.The name for the recommendation template.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recommendationIds
(String... recommendationIds) Identifiers for the recommendations used to create a recommendation template.recommendationIds
(Collection<String> recommendationIds) Identifiers for the recommendations used to create a recommendation template.recommendationTypes
(Collection<RenderRecommendationType> recommendationTypes) An array of strings that specify the recommendation template type or types.recommendationTypes
(RenderRecommendationType... recommendationTypes) An array of strings that specify the recommendation template type or types.recommendationTypesWithStrings
(String... recommendationTypes) An array of strings that specify the recommendation template type or types.recommendationTypesWithStrings
(Collection<String> recommendationTypes) An array of strings that specify the recommendation template type or types.Tags assigned to the resource.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 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
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
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
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRecommendationTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-