public static interface CreateEndpointResponse.Builder extends DatabaseMigrationResponse.Builder, CopyableBuilder<CreateEndpointResponse.Builder,CreateEndpointResponse>
Modifier and Type | Method and Description |
---|---|
default CreateEndpointResponse.Builder |
endpoint(Consumer<Endpoint.Builder> endpoint)
The endpoint that was created.
|
CreateEndpointResponse.Builder |
endpoint(Endpoint endpoint)
The endpoint that was created.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateEndpointResponse.Builder endpoint(Endpoint endpoint)
The endpoint that was created.
endpoint
- The endpoint that was created.default CreateEndpointResponse.Builder endpoint(Consumer<Endpoint.Builder> endpoint)
The endpoint that was created.
This is a convenience that creates an instance of theEndpoint.Builder
avoiding the need to create
one manually via Endpoint.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to endpoint(Endpoint)
.endpoint
- a consumer that will call methods on Endpoint.Builder
endpoint(Endpoint)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.