Interface ModifyEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ModifyEndpointResponse.Builder,
,ModifyEndpointResponse> DatabaseMigrationResponse.Builder
,SdkBuilder<ModifyEndpointResponse.Builder,
,ModifyEndpointResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ModifyEndpointResponse
public static interface ModifyEndpointResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<ModifyEndpointResponse.Builder,ModifyEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ModifyEndpointResponse.Builder
endpoint
(Consumer<Endpoint.Builder> endpoint) The modified endpoint.The modified endpoint.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 modified endpoint.
- Parameters:
endpoint
- The modified endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
The modified endpoint.
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:
-