public static interface RecommendationTemplate.Builder extends SdkPojo, CopyableBuilder<RecommendationTemplate.Builder,RecommendationTemplate>
| Modifier and Type | Method and Description |
|---|---|
RecommendationTemplate.Builder |
appArn(String appArn)
The Amazon Resource Name (ARN) of the application.
|
RecommendationTemplate.Builder |
assessmentArn(String assessmentArn)
The Amazon Resource Name (ARN) of the assessment.
|
RecommendationTemplate.Builder |
endTime(Instant endTime)
The end time for the action.
|
RecommendationTemplate.Builder |
format(String format)
The format of the recommendation template.
|
RecommendationTemplate.Builder |
format(TemplateFormat format)
The format of the recommendation template.
|
RecommendationTemplate.Builder |
message(String message)
The message for the recommendation template.
|
RecommendationTemplate.Builder |
name(String name)
The 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)
The 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)
The status of the action.
|
RecommendationTemplate.Builder |
status(String status)
The status of the action.
|
RecommendationTemplate.Builder |
tags(Map<String,String> tags)
The 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)
The Amazon Resource Name (ARN) of the 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 AWS General Reference.
appArn - The Amazon Resource Name (ARN) of the 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 AWS General Reference.RecommendationTemplate.Builder assessmentArn(String assessmentArn)
The 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 AWS General Reference.
assessmentArn - The 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 AWS General Reference.RecommendationTemplate.Builder endTime(Instant endTime)
The end time for the action.
endTime - The end time for the action.RecommendationTemplate.Builder format(String format)
The format of the recommendation template.
The template is CloudFormation JSON.
The template is CloudFormation YAML.
format - The format of the recommendation template.
The template is CloudFormation JSON.
The template is CloudFormation YAML.
TemplateFormat,
TemplateFormatRecommendationTemplate.Builder format(TemplateFormat format)
The format of the recommendation template.
The template is CloudFormation JSON.
The template is CloudFormation YAML.
format - The format of the recommendation template.
The template is CloudFormation JSON.
The template is CloudFormation YAML.
TemplateFormat,
TemplateFormatRecommendationTemplate.Builder message(String message)
The message for the recommendation template.
message - The message for the recommendation template.RecommendationTemplate.Builder name(String name)
The name for the recommendation template.
name - The 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)
The Amazon Resource Name (ARN) for the recommendation template.
recommendationTemplateArn - The 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)
The status of the action.
status - The status of the action.RecommendationTemplateStatus,
RecommendationTemplateStatusRecommendationTemplate.Builder status(RecommendationTemplateStatus status)
The status of the action.
status - The status of the action.RecommendationTemplateStatus,
RecommendationTemplateStatusRecommendationTemplate.Builder tags(Map<String,String> tags)
The 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 - The 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 © 2022. All rights reserved.