Interface ListDbNodesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDbNodesResponse.Builder,,ListDbNodesResponse> OdbResponse.Builder,SdkBuilder<ListDbNodesResponse.Builder,,ListDbNodesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDbNodesResponse
@Mutable
@NotThreadSafe
public static interface ListDbNodesResponse.Builder
extends OdbResponse.Builder, SdkPojo, CopyableBuilder<ListDbNodesResponse.Builder,ListDbNodesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbNodes(Collection<DbNodeSummary> dbNodes) The list of DB nodes along with their properties.dbNodes(Consumer<DbNodeSummary.Builder>... dbNodes) The list of DB nodes along with their properties.dbNodes(DbNodeSummary... dbNodes) The list of DB nodes 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.
-
dbNodes
The list of DB nodes along with their properties.
- Parameters:
dbNodes- The list of DB nodes along with their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbNodes
The list of DB nodes along with their properties.
- Parameters:
dbNodes- The list of DB nodes along with their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbNodes
The list of DB nodes along with their properties.
This is a convenience method that creates an instance of theDbNodeSummary.Builderavoiding the need to create one manually viaDbNodeSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbNodes(List<DbNodeSummary>).- Parameters:
dbNodes- a consumer that will call methods onDbNodeSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-