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
copy
Methods inherited from interface software.amazon.awssdk.services.odb.model.OdbResponse.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 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.Builder
avoiding the need to create one manually viaOdbPeeringConnection.builder()
.When the
Consumer
completes,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:
-