Interface ListConnectionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListConnectionsRequest.Builder,ListConnectionsRequest>,EventBridgeRequest.Builder,SdkBuilder<ListConnectionsRequest.Builder,ListConnectionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListConnectionsRequest
public static interface ListConnectionsRequest.Builder extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<ListConnectionsRequest.Builder,ListConnectionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListConnectionsRequest.BuilderconnectionState(String connectionState)The state of the connection.ListConnectionsRequest.BuilderconnectionState(ConnectionState connectionState)The state of the connection.ListConnectionsRequest.Builderlimit(Integer limit)The maximum number of connections to return.ListConnectionsRequest.BuildernamePrefix(String namePrefix)A name prefix to filter results returned.ListConnectionsRequest.BuildernextToken(String nextToken)The token returned by a previous call, which you can use to retrieve the next set of results.ListConnectionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListConnectionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
namePrefix
ListConnectionsRequest.Builder namePrefix(String 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
ListConnectionsRequest.Builder connectionState(String 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,ConnectionState
-
connectionState
ListConnectionsRequest.Builder connectionState(ConnectionState 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,ConnectionState
-
nextToken
ListConnectionsRequest.Builder nextToken(String nextToken)
The token returned by a previous call, which you can use to retrieve the next set of results.
The value of
nextTokenis 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 InvalidTokenerror.- Parameters:
nextToken- The token returned by a previous call, which you can use to retrieve the next set of results.The value of
nextTokenis 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 InvalidTokenerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
ListConnectionsRequest.Builder limit(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListConnectionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-