Interface CreateDbProxyEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateDbProxyEndpointResponse.Builder,
,CreateDbProxyEndpointResponse> RdsResponse.Builder
,SdkBuilder<CreateDbProxyEndpointResponse.Builder,
,CreateDbProxyEndpointResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateDbProxyEndpointResponse
public static interface CreateDbProxyEndpointResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<CreateDbProxyEndpointResponse.Builder,CreateDbProxyEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbProxyEndpoint
(Consumer<DBProxyEndpoint.Builder> dbProxyEndpoint) TheDBProxyEndpoint
object that is created by the API operation.dbProxyEndpoint
(DBProxyEndpoint dbProxyEndpoint) TheDBProxyEndpoint
object that is created by the API operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.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
-
dbProxyEndpoint
The
DBProxyEndpoint
object that is created by the API operation. The DB proxy endpoint that you create might provide capabilities such as read/write or read-only operations, or using a different VPC than the proxy's default VPC.- Parameters:
dbProxyEndpoint
- TheDBProxyEndpoint
object that is created by the API operation. The DB proxy endpoint that you create might provide capabilities such as read/write or read-only operations, or using a different VPC than the proxy's default VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbProxyEndpoint
default CreateDbProxyEndpointResponse.Builder dbProxyEndpoint(Consumer<DBProxyEndpoint.Builder> dbProxyEndpoint) The
This is a convenience method that creates an instance of theDBProxyEndpoint
object that is created by the API operation. The DB proxy endpoint that you create might provide capabilities such as read/write or read-only operations, or using a different VPC than the proxy's default VPC.DBProxyEndpoint.Builder
avoiding the need to create one manually viaDBProxyEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbProxyEndpoint(DBProxyEndpoint)
.- Parameters:
dbProxyEndpoint
- a consumer that will call methods onDBProxyEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-