Interface FailureSubCategoryCluster.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FailureSubCategoryCluster.Builder,,FailureSubCategoryCluster> SdkBuilder<FailureSubCategoryCluster.Builder,,FailureSubCategoryCluster> SdkPojo
- Enclosing class:
- FailureSubCategoryCluster
@Mutable
@NotThreadSafe
public static interface FailureSubCategoryCluster.Builder
extends SdkPojo, CopyableBuilder<FailureSubCategoryCluster.Builder,FailureSubCategoryCluster>
-
Method Summary
Modifier and TypeMethodDescriptionaffectedSessionCount(Integer affectedSessionCount) The number of sessions affected by this failure subcategory.The unique identifier of the failure subcategory cluster.description(String description) A description of the failure subcategory pattern.The name of the failure subcategory.rootCauses(Collection<RootCauseCluster> rootCauses) The list of root cause clusters identified within this subcategory.rootCauses(Consumer<RootCauseCluster.Builder>... rootCauses) The list of root cause clusters identified within this subcategory.rootCauses(RootCauseCluster... rootCauses) The list of root cause clusters identified within this subcategory.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clusterId
The unique identifier of the failure subcategory cluster.
- Parameters:
clusterId- The unique identifier of the failure subcategory cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the failure subcategory.
- Parameters:
name- The name of the failure subcategory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the failure subcategory pattern.
- Parameters:
description- A description of the failure subcategory pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedSessionCount
The number of sessions affected by this failure subcategory.
- Parameters:
affectedSessionCount- The number of sessions affected by this failure subcategory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootCauses
The list of root cause clusters identified within this subcategory.
- Parameters:
rootCauses- The list of root cause clusters identified within this subcategory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootCauses
The list of root cause clusters identified within this subcategory.
- Parameters:
rootCauses- The list of root cause clusters identified within this subcategory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootCauses
The list of root cause clusters identified within this subcategory.
This is a convenience method that creates an instance of theRootCauseCluster.Builderavoiding the need to create one manually viaRootCauseCluster.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torootCauses(List<RootCauseCluster>).- Parameters:
rootCauses- a consumer that will call methods onRootCauseCluster.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-