Interface GetConnectionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetConnectionsResponse.Builder,GetConnectionsResponse>,NetworkManagerResponse.Builder,SdkBuilder<GetConnectionsResponse.Builder,GetConnectionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetConnectionsResponse
public static interface GetConnectionsResponse.Builder extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetConnectionsResponse.Builder,GetConnectionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetConnectionsResponse.Builderconnections(Collection<Connection> connections)Information about the connections.GetConnectionsResponse.Builderconnections(Consumer<Connection.Builder>... connections)Information about the connections.GetConnectionsResponse.Builderconnections(Connection... connections)Information about the connections.GetConnectionsResponse.BuildernextToken(String nextToken)The token to use for the next page of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
connections
GetConnectionsResponse.Builder connections(Collection<Connection> connections)
Information about the connections.
- Parameters:
connections- Information about the connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
GetConnectionsResponse.Builder connections(Connection... connections)
Information about the connections.
- Parameters:
connections- Information about the connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
GetConnectionsResponse.Builder connections(Consumer<Connection.Builder>... connections)
Information about the connections.
This is a convenience method that creates an instance of theConnection.Builderavoiding the need to create one manually viaConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#connections(List.) - Parameters:
connections- a consumer that will call methods onConnection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#connections(java.util.Collection)
-
nextToken
GetConnectionsResponse.Builder nextToken(String nextToken)
The token to use for the next page of results.
- Parameters:
nextToken- The token to use for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-