Interface DeleteConnectionResponse.Builder
- All Superinterfaces:
AppRunnerResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DeleteConnectionResponse.Builder,
,DeleteConnectionResponse> SdkBuilder<DeleteConnectionResponse.Builder,
,DeleteConnectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeleteConnectionResponse
public static interface DeleteConnectionResponse.Builder
extends AppRunnerResponse.Builder, SdkPojo, CopyableBuilder<DeleteConnectionResponse.Builder,DeleteConnectionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeleteConnectionResponse.Builder
connection
(Consumer<Connection.Builder> connection) A description of the App Runner connection that this request just deleted.connection
(Connection connection) A description of the App Runner connection that this request just deleted.Methods inherited from interface software.amazon.awssdk.services.apprunner.model.AppRunnerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
connection
A description of the App Runner connection that this request just deleted.
- Parameters:
connection
- A description of the App Runner connection that this request just deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connection
A description of the App Runner connection that this request just deleted.
This is a convenience method that creates an instance of theConnection.Builder
avoiding the need to create one manually viaConnection.builder()
.When the
Consumer
completes,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:
-