public static interface RecommendationTemplate.Builder extends SdkPojo, CopyableBuilder<RecommendationTemplate.Builder,RecommendationTemplate>
| Modifier and Type | Method and Description |
|---|---|
RecommendationTemplate.Builder |
appArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application.
|
RecommendationTemplate.Builder |
assessmentArn(String assessmentArn)
Amazon Resource Name (ARN) of the assessment.
|
RecommendationTemplate.Builder |
endTime(Instant endTime)
The end time for the action.
|
RecommendationTemplate.Builder |
format(String format)
Format of the recommendation template.
|
RecommendationTemplate.Builder |
format(TemplateFormat format)
Format of the recommendation template.
|
RecommendationTemplate.Builder |
message(String message)
Message for the recommendation template.
|
RecommendationTemplate.Builder |
name(String name)
Name for the recommendation template.
|
RecommendationTemplate.Builder |
needsReplacements(Boolean needsReplacements)
Indicates if replacements are needed.
|
RecommendationTemplate.Builder |
recommendationIds(Collection<String> recommendationIds)
Identifiers for the recommendations used in the recommendation template.
|
RecommendationTemplate.Builder |
recommendationIds(String... recommendationIds)
Identifiers for the recommendations used in the recommendation template.
|
RecommendationTemplate.Builder |
recommendationTemplateArn(String recommendationTemplateArn)
Amazon Resource Name (ARN) for the recommendation template.
|
RecommendationTemplate.Builder |
recommendationTypes(Collection<RenderRecommendationType> recommendationTypes)
An array of strings that specify the recommendation template type or types.
|
RecommendationTemplate.Builder |
recommendationTypes(RenderRecommendationType... recommendationTypes)
An array of strings that specify the recommendation template type or types.
|
RecommendationTemplate.Builder |
recommendationTypesWithStrings(Collection<String> recommendationTypes)
An array of strings that specify the recommendation template type or types.
|
RecommendationTemplate.Builder |
recommendationTypesWithStrings(String... recommendationTypes)
An array of strings that specify the recommendation template type or types.
|
RecommendationTemplate.Builder |
startTime(Instant startTime)
The start time for the action.
|
RecommendationTemplate.Builder |
status(RecommendationTemplateStatus status)
Status of the action.
|
RecommendationTemplate.Builder |
status(String status)
Status of the action.
|
RecommendationTemplate.Builder |
tags(Map<String,String> tags)
Tags assigned to the resource.
|
default RecommendationTemplate.Builder |
templatesLocation(Consumer<S3Location.Builder> templatesLocation)
The file location of the template.
|
RecommendationTemplate.Builder |
templatesLocation(S3Location templatesLocation)
The file location of the template.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRecommendationTemplate.Builder appArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition:resiliencehub:region:account:app/app-id. For
more information about ARNs, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference guide.
appArn - Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition:resiliencehub:region:account:app/app-id.
For more information about ARNs, see Amazon Resource
Names (ARNs) in the Amazon Web Services General Reference guide.RecommendationTemplate.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.
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.RecommendationTemplate.Builder endTime(Instant endTime)
The end time for the action.
endTime - The end time for the action.RecommendationTemplate.Builder format(String format)
Format of the recommendation template.
The template is CloudFormation JSON.
The template is CloudFormation YAML.
format - Format of the recommendation template.
The template is CloudFormation JSON.
The template is CloudFormation YAML.
TemplateFormat,
TemplateFormatRecommendationTemplate.Builder format(TemplateFormat format)
Format of the recommendation template.
The template is CloudFormation JSON.
The template is CloudFormation YAML.
format - Format of the recommendation template.
The template is CloudFormation JSON.
The template is CloudFormation YAML.
TemplateFormat,
TemplateFormatRecommendationTemplate.Builder message(String message)
Message for the recommendation template.
message - Message for the recommendation template.RecommendationTemplate.Builder name(String name)
Name for the recommendation template.
name - Name for the recommendation template.RecommendationTemplate.Builder needsReplacements(Boolean needsReplacements)
Indicates if replacements are needed.
needsReplacements - Indicates if replacements are needed.RecommendationTemplate.Builder recommendationIds(Collection<String> recommendationIds)
Identifiers for the recommendations used in the recommendation template.
recommendationIds - Identifiers for the recommendations used in the recommendation template.RecommendationTemplate.Builder recommendationIds(String... recommendationIds)
Identifiers for the recommendations used in the recommendation template.
recommendationIds - Identifiers for the recommendations used in the recommendation template.RecommendationTemplate.Builder recommendationTemplateArn(String recommendationTemplateArn)
Amazon Resource Name (ARN) for the recommendation template.
recommendationTemplateArn - Amazon Resource Name (ARN) for the recommendation template.RecommendationTemplate.Builder recommendationTypesWithStrings(Collection<String> recommendationTypes)
An array of strings that specify the recommendation template type or types.
The template is an AlarmRecommendation template.
The template is a SopRecommendation template.
The template is a TestRecommendation template.
recommendationTypes - An array of strings that specify the recommendation template type or types.
The template is an AlarmRecommendation template.
The template is a SopRecommendation template.
The template is a TestRecommendation template.
RecommendationTemplate.Builder recommendationTypesWithStrings(String... recommendationTypes)
An array of strings that specify the recommendation template type or types.
The template is an AlarmRecommendation template.
The template is a SopRecommendation template.
The template is a TestRecommendation template.
recommendationTypes - An array of strings that specify the recommendation template type or types.
The template is an AlarmRecommendation template.
The template is a SopRecommendation template.
The template is a TestRecommendation template.
RecommendationTemplate.Builder recommendationTypes(Collection<RenderRecommendationType> recommendationTypes)
An array of strings that specify the recommendation template type or types.
The template is an AlarmRecommendation template.
The template is a SopRecommendation template.
The template is a TestRecommendation template.
recommendationTypes - An array of strings that specify the recommendation template type or types.
The template is an AlarmRecommendation template.
The template is a SopRecommendation template.
The template is a TestRecommendation template.
RecommendationTemplate.Builder recommendationTypes(RenderRecommendationType... recommendationTypes)
An array of strings that specify the recommendation template type or types.
The template is an AlarmRecommendation template.
The template is a SopRecommendation template.
The template is a TestRecommendation template.
recommendationTypes - An array of strings that specify the recommendation template type or types.
The template is an AlarmRecommendation template.
The template is a SopRecommendation template.
The template is a TestRecommendation template.
RecommendationTemplate.Builder startTime(Instant startTime)
The start time for the action.
startTime - The start time for the action.RecommendationTemplate.Builder status(String status)
Status of the action.
status - Status of the action.RecommendationTemplateStatus,
RecommendationTemplateStatusRecommendationTemplate.Builder status(RecommendationTemplateStatus status)
Status of the action.
status - Status of the action.RecommendationTemplateStatus,
RecommendationTemplateStatusRecommendationTemplate.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.
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.RecommendationTemplate.Builder templatesLocation(S3Location templatesLocation)
The file location of the template.
templatesLocation - The file location of the template.default RecommendationTemplate.Builder templatesLocation(Consumer<S3Location.Builder> templatesLocation)
The file location of the template.
This is a convenience method that creates an instance of theS3Location.Builder avoiding the need to
create one manually via S3Location.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to templatesLocation(S3Location).
templatesLocation - a consumer that will call methods on S3Location.BuildertemplatesLocation(S3Location)Copyright © 2023. All rights reserved.