Interface CreateDbProxyEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateDbProxyEndpointResponse.Builder,,CreateDbProxyEndpointResponse> RdsResponse.Builder,SdkBuilder<CreateDbProxyEndpointResponse.Builder,,CreateDbProxyEndpointResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateDbProxyEndpointResponse
@Mutable
@NotThreadSafe
public static interface CreateDbProxyEndpointResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<CreateDbProxyEndpointResponse.Builder,CreateDbProxyEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbProxyEndpoint(Consumer<DBProxyEndpoint.Builder> dbProxyEndpoint) TheDBProxyEndpointobject that is created by the API operation.dbProxyEndpoint(DBProxyEndpoint dbProxyEndpoint) TheDBProxyEndpointobject that is created by the API operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dbProxyEndpoint
The
DBProxyEndpointobject 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- TheDBProxyEndpointobject 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 theDBProxyEndpointobject 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.Builderavoiding the need to create one manually viaDBProxyEndpoint.builder().When the
Consumercompletes,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:
-