public static interface DBProxyEndpoint.Builder extends SdkPojo, CopyableBuilder<DBProxyEndpoint.Builder,DBProxyEndpoint>
Modifier and Type | Method and Description |
---|---|
DBProxyEndpoint.Builder |
createdDate(Instant createdDate)
The date and time when the DB proxy endpoint was first created.
|
DBProxyEndpoint.Builder |
dbProxyEndpointArn(String dbProxyEndpointArn)
The Amazon Resource Name (ARN) for the DB proxy endpoint.
|
DBProxyEndpoint.Builder |
dbProxyEndpointName(String dbProxyEndpointName)
The name for the DB proxy endpoint.
|
DBProxyEndpoint.Builder |
dbProxyName(String dbProxyName)
The identifier for the DB proxy that is associated with this DB proxy endpoint.
|
DBProxyEndpoint.Builder |
endpoint(String endpoint)
The endpoint that you can use to connect to the DB proxy.
|
DBProxyEndpoint.Builder |
isDefault(Boolean isDefault)
A value that indicates whether this endpoint is the default endpoint for the associated DB proxy.
|
DBProxyEndpoint.Builder |
status(DBProxyEndpointStatus status)
The current status of this DB proxy endpoint.
|
DBProxyEndpoint.Builder |
status(String status)
The current status of this DB proxy endpoint.
|
DBProxyEndpoint.Builder |
targetRole(DBProxyEndpointTargetRole targetRole)
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
|
DBProxyEndpoint.Builder |
targetRole(String targetRole)
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
|
DBProxyEndpoint.Builder |
vpcId(String vpcId)
Provides the VPC ID of the DB proxy endpoint.
|
DBProxyEndpoint.Builder |
vpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Provides a list of VPC security groups that the DB proxy endpoint belongs to.
|
DBProxyEndpoint.Builder |
vpcSecurityGroupIds(String... vpcSecurityGroupIds)
Provides a list of VPC security groups that the DB proxy endpoint belongs to.
|
DBProxyEndpoint.Builder |
vpcSubnetIds(Collection<String> vpcSubnetIds)
The EC2 subnet IDs for the DB proxy endpoint.
|
DBProxyEndpoint.Builder |
vpcSubnetIds(String... vpcSubnetIds)
The EC2 subnet IDs for the DB proxy endpoint.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
DBProxyEndpoint.Builder dbProxyEndpointName(String dbProxyEndpointName)
The name for the DB proxy endpoint. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.
dbProxyEndpointName
- The name for the DB proxy endpoint. An identifier must begin with a letter and must contain only ASCII
letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.DBProxyEndpoint.Builder dbProxyEndpointArn(String dbProxyEndpointArn)
The Amazon Resource Name (ARN) for the DB proxy endpoint.
dbProxyEndpointArn
- The Amazon Resource Name (ARN) for the DB proxy endpoint.DBProxyEndpoint.Builder dbProxyName(String dbProxyName)
The identifier for the DB proxy that is associated with this DB proxy endpoint.
dbProxyName
- The identifier for the DB proxy that is associated with this DB proxy endpoint.DBProxyEndpoint.Builder status(String status)
The current status of this DB proxy endpoint. A status of available
means the endpoint is ready
to handle requests. Other values indicate that you must wait for the endpoint to be ready, or take some
action to resolve an issue.
status
- The current status of this DB proxy endpoint. A status of available
means the endpoint is
ready to handle requests. Other values indicate that you must wait for the endpoint to be ready, or
take some action to resolve an issue.DBProxyEndpointStatus
,
DBProxyEndpointStatus
DBProxyEndpoint.Builder status(DBProxyEndpointStatus status)
The current status of this DB proxy endpoint. A status of available
means the endpoint is ready
to handle requests. Other values indicate that you must wait for the endpoint to be ready, or take some
action to resolve an issue.
status
- The current status of this DB proxy endpoint. A status of available
means the endpoint is
ready to handle requests. Other values indicate that you must wait for the endpoint to be ready, or
take some action to resolve an issue.DBProxyEndpointStatus
,
DBProxyEndpointStatus
DBProxyEndpoint.Builder vpcId(String vpcId)
Provides the VPC ID of the DB proxy endpoint.
vpcId
- Provides the VPC ID of the DB proxy endpoint.DBProxyEndpoint.Builder vpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
Provides a list of VPC security groups that the DB proxy endpoint belongs to.
vpcSecurityGroupIds
- Provides a list of VPC security groups that the DB proxy endpoint belongs to.DBProxyEndpoint.Builder vpcSecurityGroupIds(String... vpcSecurityGroupIds)
Provides a list of VPC security groups that the DB proxy endpoint belongs to.
vpcSecurityGroupIds
- Provides a list of VPC security groups that the DB proxy endpoint belongs to.DBProxyEndpoint.Builder vpcSubnetIds(Collection<String> vpcSubnetIds)
The EC2 subnet IDs for the DB proxy endpoint.
vpcSubnetIds
- The EC2 subnet IDs for the DB proxy endpoint.DBProxyEndpoint.Builder vpcSubnetIds(String... vpcSubnetIds)
The EC2 subnet IDs for the DB proxy endpoint.
vpcSubnetIds
- The EC2 subnet IDs for the DB proxy endpoint.DBProxyEndpoint.Builder endpoint(String endpoint)
The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application.
endpoint
- The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the
connection string for a database client application.DBProxyEndpoint.Builder createdDate(Instant createdDate)
The date and time when the DB proxy endpoint was first created.
createdDate
- The date and time when the DB proxy endpoint was first created.DBProxyEndpoint.Builder targetRole(String targetRole)
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
targetRole
- A value that indicates whether the DB proxy endpoint can be used for read/write or read-only
operations.DBProxyEndpointTargetRole
,
DBProxyEndpointTargetRole
DBProxyEndpoint.Builder targetRole(DBProxyEndpointTargetRole targetRole)
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
targetRole
- A value that indicates whether the DB proxy endpoint can be used for read/write or read-only
operations.DBProxyEndpointTargetRole
,
DBProxyEndpointTargetRole
DBProxyEndpoint.Builder isDefault(Boolean isDefault)
A value that indicates whether this endpoint is the default endpoint for the associated DB proxy. Default DB proxy endpoints always have read/write capability. Other endpoints that you associate with the DB proxy can be either read/write or read-only.
isDefault
- A value that indicates whether this endpoint is the default endpoint for the associated DB proxy.
Default DB proxy endpoints always have read/write capability. Other endpoints that you associate with
the DB proxy can be either read/write or read-only.Copyright © 2023. All rights reserved.