Interface GroupingRecommendation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GroupingRecommendation.Builder,GroupingRecommendation>,SdkBuilder<GroupingRecommendation.Builder,GroupingRecommendation>,SdkPojo
- Enclosing class:
- GroupingRecommendation
public static interface GroupingRecommendation.Builder extends SdkPojo, CopyableBuilder<GroupingRecommendation.Builder,GroupingRecommendation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GroupingRecommendation.BuilderconfidenceLevel(String confidenceLevel)Indicates the confidence level of Resilience Hub on the grouping recommendation.GroupingRecommendation.BuilderconfidenceLevel(GroupingRecommendationConfidenceLevel confidenceLevel)Indicates the confidence level of Resilience Hub on the grouping recommendation.GroupingRecommendation.BuildercreationTime(Instant creationTime)Indicates the creation time of the grouping recommendation.default GroupingRecommendation.BuildergroupingAppComponent(Consumer<GroupingAppComponent.Builder> groupingAppComponent)Indicates the name of the recommended Application Component (AppComponent).GroupingRecommendation.BuildergroupingAppComponent(GroupingAppComponent groupingAppComponent)Indicates the name of the recommended Application Component (AppComponent).GroupingRecommendation.BuildergroupingRecommendationId(String groupingRecommendationId)Indicates all the reasons available for rejecting a grouping recommendation.GroupingRecommendation.BuilderrecommendationReasons(String... recommendationReasons)Indicates all the reasons available for rejecting a grouping recommendation.GroupingRecommendation.BuilderrecommendationReasons(Collection<String> recommendationReasons)Indicates all the reasons available for rejecting a grouping recommendation.GroupingRecommendation.BuilderrejectionReason(String rejectionReason)Indicates the reason you had selected while rejecting a grouping recommendation.GroupingRecommendation.BuilderrejectionReason(GroupingRecommendationRejectionReason rejectionReason)Indicates the reason you had selected while rejecting a grouping recommendation.GroupingRecommendation.Builderresources(Collection<GroupingResource> resources)Indicates the resources that are grouped in a recommended AppComponent.GroupingRecommendation.Builderresources(Consumer<GroupingResource.Builder>... resources)Indicates the resources that are grouped in a recommended AppComponent.GroupingRecommendation.Builderresources(GroupingResource... resources)Indicates the resources that are grouped in a recommended AppComponent.GroupingRecommendation.Builderscore(Double score)Indicates the confidence level of the grouping recommendation.GroupingRecommendation.Builderstatus(String status)Indicates the status of grouping resources into AppComponents.GroupingRecommendation.Builderstatus(GroupingRecommendationStatusType status)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, sdkFields
-
-
-
-
Method Detail
-
confidenceLevel
GroupingRecommendation.Builder confidenceLevel(String 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:
GroupingRecommendationConfidenceLevel,GroupingRecommendationConfidenceLevel
-
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:
GroupingRecommendationConfidenceLevel,GroupingRecommendationConfidenceLevel
-
creationTime
GroupingRecommendation.Builder creationTime(Instant 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
GroupingRecommendation.Builder groupingAppComponent(GroupingAppComponent 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.Builderavoiding the need to create one manually viaGroupingAppComponent.builder().When the
Consumercompletes,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:
groupingAppComponent(GroupingAppComponent)
-
groupingRecommendationId
GroupingRecommendation.Builder groupingRecommendationId(String 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
GroupingRecommendation.Builder recommendationReasons(Collection<String> 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
GroupingRecommendation.Builder recommendationReasons(String... 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
GroupingRecommendation.Builder rejectionReason(String 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:
GroupingRecommendationRejectionReason,GroupingRecommendationRejectionReason
-
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:
GroupingRecommendationRejectionReason,GroupingRecommendationRejectionReason
-
resources
GroupingRecommendation.Builder resources(Collection<GroupingResource> 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
GroupingRecommendation.Builder resources(GroupingResource... 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
GroupingRecommendation.Builder resources(Consumer<GroupingResource.Builder>... resources)
Indicates the resources that are grouped in a recommended AppComponent.
This is a convenience method that creates an instance of theGroupingResource.Builderavoiding the need to create one manually viaGroupingResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resources(List.) - 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:
#resources(java.util.Collection)
-
score
GroupingRecommendation.Builder score(Double 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
GroupingRecommendation.Builder status(String 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:
GroupingRecommendationStatusType,GroupingRecommendationStatusType
-
status
GroupingRecommendation.Builder status(GroupingRecommendationStatusType 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:
GroupingRecommendationStatusType,GroupingRecommendationStatusType
-
-