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