public static interface DBProxyTarget.Builder extends SdkPojo, CopyableBuilder<DBProxyTarget.Builder,DBProxyTarget>
| Modifier and Type | Method and Description |
|---|---|
DBProxyTarget.Builder |
endpoint(String endpoint)
The writer endpoint for the RDS DB instance or Aurora DB cluster.
|
DBProxyTarget.Builder |
port(Integer port)
The port that the RDS Proxy uses to connect to the target RDS DB instance or Aurora DB cluster.
|
DBProxyTarget.Builder |
rdsResourceId(String rdsResourceId)
The identifier representing the target.
|
DBProxyTarget.Builder |
role(String role)
A value that indicates whether the target of the proxy can be used for read/write or read-only operations.
|
DBProxyTarget.Builder |
role(TargetRole role)
A value that indicates whether the target of the proxy can be used for read/write or read-only operations.
|
DBProxyTarget.Builder |
targetArn(String targetArn)
The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB cluster.
|
default DBProxyTarget.Builder |
targetHealth(Consumer<TargetHealth.Builder> targetHealth)
Information about the connection health of the RDS Proxy target.
|
DBProxyTarget.Builder |
targetHealth(TargetHealth targetHealth)
Information about the connection health of the RDS Proxy target.
|
DBProxyTarget.Builder |
trackedClusterId(String trackedClusterId)
The DB cluster identifier when the target represents an Aurora DB cluster.
|
DBProxyTarget.Builder |
type(String type)
Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target
represents.
|
DBProxyTarget.Builder |
type(TargetType type)
Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target
represents.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDBProxyTarget.Builder targetArn(String targetArn)
The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB cluster.
targetArn - The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB cluster.DBProxyTarget.Builder endpoint(String endpoint)
The writer endpoint for the RDS DB instance or Aurora DB cluster.
endpoint - The writer endpoint for the RDS DB instance or Aurora DB cluster.DBProxyTarget.Builder trackedClusterId(String trackedClusterId)
The DB cluster identifier when the target represents an Aurora DB cluster. This field is blank when the target represents an RDS DB instance.
trackedClusterId - The DB cluster identifier when the target represents an Aurora DB cluster. This field is blank when
the target represents an RDS DB instance.DBProxyTarget.Builder rdsResourceId(String rdsResourceId)
The identifier representing the target. It can be the instance identifier for an RDS DB instance, or the cluster identifier for an Aurora DB cluster.
rdsResourceId - The identifier representing the target. It can be the instance identifier for an RDS DB instance, or
the cluster identifier for an Aurora DB cluster.DBProxyTarget.Builder port(Integer port)
The port that the RDS Proxy uses to connect to the target RDS DB instance or Aurora DB cluster.
port - The port that the RDS Proxy uses to connect to the target RDS DB instance or Aurora DB cluster.DBProxyTarget.Builder type(String type)
Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target represents.
type - Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target
represents.TargetType,
TargetTypeDBProxyTarget.Builder type(TargetType type)
Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target represents.
type - Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target
represents.TargetType,
TargetTypeDBProxyTarget.Builder role(String role)
A value that indicates whether the target of the proxy can be used for read/write or read-only operations.
role - A value that indicates whether the target of the proxy can be used for read/write or read-only
operations.TargetRole,
TargetRoleDBProxyTarget.Builder role(TargetRole role)
A value that indicates whether the target of the proxy can be used for read/write or read-only operations.
role - A value that indicates whether the target of the proxy can be used for read/write or read-only
operations.TargetRole,
TargetRoleDBProxyTarget.Builder targetHealth(TargetHealth targetHealth)
Information about the connection health of the RDS Proxy target.
targetHealth - Information about the connection health of the RDS Proxy target.default DBProxyTarget.Builder targetHealth(Consumer<TargetHealth.Builder> targetHealth)
Information about the connection health of the RDS Proxy target.
This is a convenience method that creates an instance of theTargetHealth.Builder avoiding the need
to create one manually via TargetHealth.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to targetHealth(TargetHealth).
targetHealth - a consumer that will call methods on TargetHealth.BuildertargetHealth(TargetHealth)Copyright © 2022. All rights reserved.