Interface ListDbServersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDbServersResponse.Builder,,ListDbServersResponse> OdbResponse.Builder,SdkBuilder<ListDbServersResponse.Builder,,ListDbServersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDbServersResponse
@Mutable
@NotThreadSafe
public static interface ListDbServersResponse.Builder
extends OdbResponse.Builder, SdkPojo, CopyableBuilder<ListDbServersResponse.Builder,ListDbServersResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbServers(Collection<DbServerSummary> dbServers) The list of database servers along with their properties.dbServers(Consumer<DbServerSummary.Builder>... dbServers) The list of database servers along with their properties.dbServers(DbServerSummary... dbServers) The list of database servers along with their properties.The token to include in another request to get the next page of items.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 token to include in another request to get the next page of items. This value is
nullwhen there are no more items to return.- Parameters:
nextToken- The token to include in another request to get the next page of items. This value isnullwhen there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbServers
The list of database servers along with their properties.
- Parameters:
dbServers- The list of database servers along with their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbServers
The list of database servers along with their properties.
- Parameters:
dbServers- The list of database servers along with their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbServers
The list of database servers along with their properties.
This is a convenience method that creates an instance of theDbServerSummary.Builderavoiding the need to create one manually viaDbServerSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbServers(List<DbServerSummary>).- Parameters:
dbServers- a consumer that will call methods onDbServerSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-