Interface GetDbNodeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDbNodeResponse.Builder,,GetDbNodeResponse> OdbResponse.Builder,SdkBuilder<GetDbNodeResponse.Builder,,GetDbNodeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDbNodeResponse
@Mutable
@NotThreadSafe
public static interface GetDbNodeResponse.Builder
extends OdbResponse.Builder, SdkPojo, CopyableBuilder<GetDbNodeResponse.Builder,GetDbNodeResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetDbNodeResponse.BuilderdbNode(Consumer<DbNode.Builder> dbNode) Sets the value of the DbNode property for this object.Sets the value of the DbNode property for this object.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
-
dbNode
Sets the value of the DbNode property for this object.- Parameters:
dbNode- The new value for the DbNode property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbNode
Sets the value of the DbNode property for this object. This is a convenience method that creates an instance of theDbNode.Builderavoiding the need to create one manually viaDbNode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbNode(DbNode).- Parameters:
dbNode- a consumer that will call methods onDbNode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-