Interface ListSessionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListSessionsRequest.Builder,,ListSessionsRequest> MpaRequest.Builder,SdkBuilder<ListSessionsRequest.Builder,,ListSessionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListSessionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionapprovalTeamArn(String approvalTeamArn) Amazon Resource Name (ARN) for the approval team.filters(Collection<Filter> filters) An array ofFilterobjects.filters(Consumer<Filter.Builder>... filters) An array ofFilterobjects.An array ofFilterobjects.maxResults(Integer maxResults) The maximum number of items to return in the response.If present, indicates that more output is available than is included in the current response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.mpa.model.MpaRequest.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
-
approvalTeamArn
Amazon Resource Name (ARN) for the approval team.
- Parameters:
approvalTeamArn- Amazon Resource Name (ARN) for the approval team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of items to return in the response. If more results exist than the specified
MaxResultsvalue, a token is included in the response so that you can retrieve the remaining results.- Parameters:
maxResults- The maximum number of items to return in the response. If more results exist than the specifiedMaxResultsvalue, a token is included in the response so that you can retrieve the remaining results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If present, indicates that more output is available than is included in the current response. Use this value in the
NextTokenrequest parameter in a next call to the operation to get more output. You can repeat this until theNextTokenresponse element returnsnull.- Parameters:
nextToken- If present, indicates that more output is available than is included in the current response. Use this value in theNextTokenrequest parameter in a next call to the operation to get more output. You can repeat this until theNextTokenresponse element returnsnull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
An array of
Filterobjects. Contains the filter to apply when listing sessions.- Parameters:
filters- An array ofFilterobjects. Contains the filter to apply when listing sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
An array of
Filterobjects. Contains the filter to apply when listing sessions.- Parameters:
filters- An array ofFilterobjects. Contains the filter to apply when listing sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
An array of
This is a convenience method that creates an instance of theFilterobjects. Contains the filter to apply when listing sessions.Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<Filter>).- Parameters:
filters- a consumer that will call methods onFilter.Builder- 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.
-