Interface GroupingRecommendation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GroupingRecommendation.Builder,
,GroupingRecommendation> SdkBuilder<GroupingRecommendation.Builder,
,GroupingRecommendation> SdkPojo
- Enclosing class:
GroupingRecommendation
-
Method Summary
Modifier and TypeMethodDescriptionconfidenceLevel
(String confidenceLevel) Indicates the confidence level of Resilience Hub on the grouping recommendation.confidenceLevel
(GroupingRecommendationConfidenceLevel confidenceLevel) Indicates the confidence level of Resilience Hub on the grouping recommendation.creationTime
(Instant creationTime) Indicates the creation time of the grouping recommendation.default GroupingRecommendation.Builder
groupingAppComponent
(Consumer<GroupingAppComponent.Builder> groupingAppComponent) Indicates the name of the recommended Application Component (AppComponent).groupingAppComponent
(GroupingAppComponent groupingAppComponent) Indicates the name of the recommended Application Component (AppComponent).groupingRecommendationId
(String groupingRecommendationId) Indicates all the reasons available for rejecting a grouping recommendation.recommendationReasons
(String... recommendationReasons) Indicates all the reasons available for rejecting a grouping recommendation.recommendationReasons
(Collection<String> recommendationReasons) Indicates all the reasons available for rejecting a grouping recommendation.rejectionReason
(String rejectionReason) Indicates the reason you had selected while rejecting a grouping recommendation.rejectionReason
(GroupingRecommendationRejectionReason rejectionReason) Indicates the reason you had selected while rejecting a grouping recommendation.resources
(Collection<GroupingResource> resources) Indicates the resources that are grouped in a recommended AppComponent.resources
(Consumer<GroupingResource.Builder>... resources) Indicates the resources that are grouped in a recommended AppComponent.resources
(GroupingResource... resources) Indicates the resources that are grouped in a recommended AppComponent.Indicates the confidence level of the grouping recommendation.Indicates the status of grouping resources into AppComponents.Indicates the status of grouping resources into AppComponents.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
confidenceLevel
Indicates the confidence level of Resilience Hub on the grouping recommendation.
- Parameters:
confidenceLevel
- Indicates the confidence level of Resilience Hub on the grouping recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidenceLevel
GroupingRecommendation.Builder confidenceLevel(GroupingRecommendationConfidenceLevel confidenceLevel) Indicates the confidence level of Resilience Hub on the grouping recommendation.
- Parameters:
confidenceLevel
- Indicates the confidence level of Resilience Hub on the grouping recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
Indicates the creation time of the grouping recommendation.
- Parameters:
creationTime
- Indicates the creation time of the grouping recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupingAppComponent
Indicates the name of the recommended Application Component (AppComponent).
- Parameters:
groupingAppComponent
- Indicates the name of the recommended Application Component (AppComponent).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupingAppComponent
default GroupingRecommendation.Builder groupingAppComponent(Consumer<GroupingAppComponent.Builder> groupingAppComponent) Indicates the name of the recommended Application Component (AppComponent).
This is a convenience method that creates an instance of theGroupingAppComponent.Builder
avoiding the need to create one manually viaGroupingAppComponent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupingAppComponent(GroupingAppComponent)
.- Parameters:
groupingAppComponent
- a consumer that will call methods onGroupingAppComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupingRecommendationId
Indicates all the reasons available for rejecting a grouping recommendation.
- Parameters:
groupingRecommendationId
- Indicates all the reasons available for rejecting a grouping recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationReasons
Indicates all the reasons available for rejecting a grouping recommendation.
- Parameters:
recommendationReasons
- Indicates all the reasons available for rejecting a grouping recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationReasons
Indicates all the reasons available for rejecting a grouping recommendation.
- Parameters:
recommendationReasons
- Indicates all the reasons available for rejecting a grouping recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectionReason
Indicates the reason you had selected while rejecting a grouping recommendation.
- Parameters:
rejectionReason
- Indicates the reason you had selected while rejecting a grouping recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rejectionReason
GroupingRecommendation.Builder rejectionReason(GroupingRecommendationRejectionReason rejectionReason) Indicates the reason you had selected while rejecting a grouping recommendation.
- Parameters:
rejectionReason
- Indicates the reason you had selected while rejecting a grouping recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resources
Indicates the resources that are grouped in a recommended AppComponent.
- Parameters:
resources
- Indicates the resources that are grouped in a recommended AppComponent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Indicates the resources that are grouped in a recommended AppComponent.
- Parameters:
resources
- Indicates the resources that are grouped in a recommended AppComponent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Indicates the resources that are grouped in a recommended AppComponent.
This is a convenience method that creates an instance of theGroupingResource.Builder
avoiding the need to create one manually viaGroupingResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresources(List<GroupingResource>)
.- Parameters:
resources
- a consumer that will call methods onGroupingResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
score
Indicates the confidence level of the grouping recommendation.
- Parameters:
score
- Indicates the confidence level of the grouping recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Indicates the status of grouping resources into AppComponents.
- Parameters:
status
- Indicates the status of grouping resources into AppComponents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Indicates the status of grouping resources into AppComponents.
- Parameters:
status
- Indicates the status of grouping resources into AppComponents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-