Interface ListSessionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListSessionsRequest.Builder,,ListSessionsRequest> NovaActRequest.Builder,SdkBuilder<ListSessionsRequest.Builder,,ListSessionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListSessionsRequest
@Mutable
@NotThreadSafe
public static interface ListSessionsRequest.Builder
extends NovaActRequest.Builder, SdkPojo, CopyableBuilder<ListSessionsRequest.Builder,ListSessionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of sessions to return in a single response.The token for retrieving the next page of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The sort order for the returned sessions (ascending or descending).The sort order for the returned sessions (ascending or descending).workflowDefinitionName(String workflowDefinitionName) The name of the workflow definition containing the workflow run.workflowRunId(String workflowRunId) The unique identifier of the workflow run to list sessions for.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.novaact.model.NovaActRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
workflowDefinitionName
The name of the workflow definition containing the workflow run.
- Parameters:
workflowDefinitionName- The name of the workflow definition containing the workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowRunId
The unique identifier of the workflow run to list sessions for.
- Parameters:
workflowRunId- The unique identifier of the workflow run to list sessions for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of sessions to return in a single response.
- Parameters:
maxResults- The maximum number of sessions to return in a single response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for retrieving the next page of results.
- Parameters:
nextToken- The token for retrieving the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortOrder
The sort order for the returned sessions (ascending or descending).
- Parameters:
sortOrder- The sort order for the returned sessions (ascending or descending).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order for the returned sessions (ascending or descending).
- Parameters:
sortOrder- The sort order for the returned sessions (ascending or descending).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-