Interface RootCauseCluster.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RootCauseCluster.Builder,,RootCauseCluster> SdkBuilder<RootCauseCluster.Builder,,RootCauseCluster> SdkPojo
- Enclosing class:
RootCauseCluster
@Mutable
@NotThreadSafe
public static interface RootCauseCluster.Builder
extends SdkPojo, CopyableBuilder<RootCauseCluster.Builder,RootCauseCluster>
-
Method Summary
Modifier and TypeMethodDescriptionaffectedSessionCount(Integer affectedSessionCount) The number of sessions affected by this root cause.affectedSessions(Collection<AffectedSession> affectedSessions) The list of sessions affected by this root cause.affectedSessions(Consumer<AffectedSession.Builder>... affectedSessions) The list of sessions affected by this root cause.affectedSessions(AffectedSession... affectedSessions) The list of sessions affected by this root cause.The unique identifier of the root cause cluster.The name of the root cause cluster.recommendation(String recommendation) The recommended fix for this root cause.The root cause explanation for this cluster of failures.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 root cause cluster.
- Parameters:
clusterId- The unique identifier of the root cause cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the root cause cluster.
- Parameters:
name- The name of the root cause cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootCause
The root cause explanation for this cluster of failures.
- Parameters:
rootCause- The root cause explanation for this cluster of failures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
The recommended fix for this root cause.
- Parameters:
recommendation- The recommended fix for this root cause.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedSessionCount
The number of sessions affected by this root cause.
- Parameters:
affectedSessionCount- The number of sessions affected by this root cause.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedSessions
The list of sessions affected by this root cause.
- Parameters:
affectedSessions- The list of sessions affected by this root cause.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedSessions
The list of sessions affected by this root cause.
- Parameters:
affectedSessions- The list of sessions affected by this root cause.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedSessions
The list of sessions affected by this root cause.
This is a convenience method that creates an instance of theAffectedSession.Builderavoiding the need to create one manually viaAffectedSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaffectedSessions(List<AffectedSession>).- Parameters:
affectedSessions- a consumer that will call methods onAffectedSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-