Interface DescribeConnectionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeConnectionsResponse.Builder,DescribeConnectionsResponse>,DatabaseMigrationResponse.Builder,SdkBuilder<DescribeConnectionsResponse.Builder,DescribeConnectionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeConnectionsResponse
@Mutable @NotThreadSafe public static interface DescribeConnectionsResponse.Builder extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<DescribeConnectionsResponse.Builder,DescribeConnectionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeConnectionsResponse.Builderconnections(Collection<Connection> connections)A description of the connections.DescribeConnectionsResponse.Builderconnections(Consumer<Connection.Builder>... connections)A description of the connections.DescribeConnectionsResponse.Builderconnections(Connection... connections)A description of the connections.DescribeConnectionsResponse.Buildermarker(String marker)An optional pagination token provided by a previous request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
marker
DescribeConnectionsResponse.Builder marker(String marker)
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords.- Parameters:
marker- An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
DescribeConnectionsResponse.Builder connections(Collection<Connection> connections)
A description of the connections.
- Parameters:
connections- A description of the connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
DescribeConnectionsResponse.Builder connections(Connection... connections)
A description of the connections.
- Parameters:
connections- A description of the connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
DescribeConnectionsResponse.Builder connections(Consumer<Connection.Builder>... connections)
A description of 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)
-
-