Interface ListOdbPeeringConnectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOdbPeeringConnectionsResponse.Builder,,ListOdbPeeringConnectionsResponse> OdbResponse.Builder,SdkBuilder<ListOdbPeeringConnectionsResponse.Builder,,ListOdbPeeringConnectionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListOdbPeeringConnectionsResponse
@Mutable
@NotThreadSafe
public static interface ListOdbPeeringConnectionsResponse.Builder
extends OdbResponse.Builder, SdkPojo, CopyableBuilder<ListOdbPeeringConnectionsResponse.Builder,ListOdbPeeringConnectionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token for the next page of ODB peering connections.odbPeeringConnections(Collection<OdbPeeringConnectionSummary> odbPeeringConnections) The list of ODB peering connections.odbPeeringConnections(Consumer<OdbPeeringConnectionSummary.Builder>... odbPeeringConnections) The list of ODB peering connections.odbPeeringConnections(OdbPeeringConnectionSummary... odbPeeringConnections) The list of ODB peering connections.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.odb.model.OdbResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The pagination token for the next page of ODB peering connections.
- Parameters:
nextToken- The pagination token for the next page of ODB peering connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
odbPeeringConnections
ListOdbPeeringConnectionsResponse.Builder odbPeeringConnections(Collection<OdbPeeringConnectionSummary> odbPeeringConnections) The list of ODB peering connections.
- Parameters:
odbPeeringConnections- The list of ODB peering connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
odbPeeringConnections
ListOdbPeeringConnectionsResponse.Builder odbPeeringConnections(OdbPeeringConnectionSummary... odbPeeringConnections) The list of ODB peering connections.
- Parameters:
odbPeeringConnections- The list of ODB peering connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
odbPeeringConnections
ListOdbPeeringConnectionsResponse.Builder odbPeeringConnections(Consumer<OdbPeeringConnectionSummary.Builder>... odbPeeringConnections) The list of ODB peering connections.
This is a convenience method that creates an instance of theOdbPeeringConnectionSummary.Builderavoiding the need to create one manually viaOdbPeeringConnectionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toodbPeeringConnections(List<OdbPeeringConnectionSummary>).- Parameters:
odbPeeringConnections- a consumer that will call methods onOdbPeeringConnectionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-