Interface ExecutionSummaryCluster.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExecutionSummaryCluster.Builder,,ExecutionSummaryCluster> SdkBuilder<ExecutionSummaryCluster.Builder,,ExecutionSummaryCluster> SdkPojo
- Enclosing class:
ExecutionSummaryCluster
@Mutable
@NotThreadSafe
public static interface ExecutionSummaryCluster.Builder
extends SdkPojo, CopyableBuilder<ExecutionSummaryCluster.Builder,ExecutionSummaryCluster>
-
Method Summary
Modifier and TypeMethodDescriptionaffectedSessionCount(Integer affectedSessionCount) The number of sessions with this execution pattern.affectedSessions(Collection<ExecutionSummaryAffectedSession> affectedSessions) The list of sessions with this execution pattern.affectedSessions(Consumer<ExecutionSummaryAffectedSession.Builder>... affectedSessions) The list of sessions with this execution pattern.affectedSessions(ExecutionSummaryAffectedSession... affectedSessions) The list of sessions with this execution pattern.The unique identifier of the execution summary cluster.description(String description) A description of the execution pattern.The name of the execution pattern cluster.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 execution summary cluster.
- Parameters:
clusterId- The unique identifier of the execution summary cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the execution pattern cluster.
- Parameters:
name- The name of the execution pattern cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the execution pattern.
- Parameters:
description- A description of the execution pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedSessionCount
The number of sessions with this execution pattern.
- Parameters:
affectedSessionCount- The number of sessions with this execution pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedSessions
ExecutionSummaryCluster.Builder affectedSessions(Collection<ExecutionSummaryAffectedSession> affectedSessions) The list of sessions with this execution pattern.
- Parameters:
affectedSessions- The list of sessions with this execution pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedSessions
ExecutionSummaryCluster.Builder affectedSessions(ExecutionSummaryAffectedSession... affectedSessions) The list of sessions with this execution pattern.
- Parameters:
affectedSessions- The list of sessions with this execution pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedSessions
ExecutionSummaryCluster.Builder affectedSessions(Consumer<ExecutionSummaryAffectedSession.Builder>... affectedSessions) The list of sessions with this execution pattern.
This is a convenience method that creates an instance of theExecutionSummaryAffectedSession.Builderavoiding the need to create one manually viaExecutionSummaryAffectedSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaffectedSessions(List<ExecutionSummaryAffectedSession>).- Parameters:
affectedSessions- a consumer that will call methods onExecutionSummaryAffectedSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-