Interface ListConnectionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListConnectionsRequest.Builder,
,ListConnectionsRequest> EventBridgeRequest.Builder
,SdkBuilder<ListConnectionsRequest.Builder,
,ListConnectionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListConnectionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionconnectionState
(String connectionState) The state of the connection.connectionState
(ConnectionState connectionState) The state of the connection.The maximum number of connections to return.namePrefix
(String namePrefix) A name prefix to filter results returned.The token returned by a previous call, which you can use to retrieve the next set of results.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
namePrefix
A name prefix to filter results returned. Only connections with a name that starts with the prefix are returned.
- Parameters:
namePrefix
- A name prefix to filter results returned. Only connections with a name that starts with the prefix are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionState
The state of the connection.
- Parameters:
connectionState
- The state of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionState
The state of the connection.
- Parameters:
connectionState
- The state of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token returned by a previous call, which you can use to retrieve the next set of results.
The value of
nextToken
is a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidToken
error.- Parameters:
nextToken
- The token returned by a previous call, which you can use to retrieve the next set of results.The value of
nextToken
is a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidToken
error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
The maximum number of connections to return.
- Parameters:
limit
- The maximum number of connections to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListConnectionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListConnectionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-