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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateEndpointResponse.Builderendpoint(Consumer<Endpoint.Builder> endpoint)The endpoint that was created.CreateEndpointResponse.Builderendpoint(Endpoint endpoint)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 Detail
-
endpoint
CreateEndpointResponse.Builder endpoint(Endpoint 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
default CreateEndpointResponse.Builder endpoint(Consumer<Endpoint.Builder> endpoint)
The endpoint that was created.
This is a convenience method that creates an instance of theEndpoint.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,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:
endpoint(Endpoint)
-
-