Interface CreateEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateEndpointResponse.Builder,
,CreateEndpointResponse> DatabaseMigrationResponse.Builder
,SdkBuilder<CreateEndpointResponse.Builder,
,CreateEndpointResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateEndpointResponse
public static interface CreateEndpointResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<CreateEndpointResponse.Builder,CreateEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateEndpointResponse.Builder
endpoint
(Consumer<Endpoint.Builder> endpoint) The endpoint that was created.The endpoint that was created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
endpoint
The endpoint that was created.
- Parameters:
endpoint
- The endpoint that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
The endpoint that was created.
This is a convenience method that creates an instance of theEndpoint.Builder
avoiding the need to create one manually viaEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpoint(Endpoint)
.- Parameters:
endpoint
- a consumer that will call methods onEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-