Interface DeleteConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteConnectionResponse.Builder,,DeleteConnectionResponse> NetworkManagerResponse.Builder,SdkBuilder<DeleteConnectionResponse.Builder,,DeleteConnectionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteConnectionResponse
@Mutable
@NotThreadSafe
public static interface DeleteConnectionResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<DeleteConnectionResponse.Builder,DeleteConnectionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeleteConnectionResponse.Builderconnection(Consumer<Connection.Builder> connection) Information about the connection.connection(Connection connection) Information about the connection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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
-
connection
Information about the connection.
- Parameters:
connection- Information about the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connection
Information about the connection.
This is a convenience method that creates an instance of theConnection.Builderavoiding the need to create one manually viaConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnection(Connection).- Parameters:
connection- a consumer that will call methods onConnection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-