@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDBProxyEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDBProxyEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDBProxyEndpointRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDBProxyEndpointName()
The name of the DB proxy endpoint to create.
|
String |
getDBProxyName()
The name of the DB proxy associated with the DB proxy endpoint that you create.
|
List<Tag> |
getTags() |
String |
getTargetRole()
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
|
List<String> |
getVpcSecurityGroupIds()
The VPC security group IDs for the DB proxy endpoint that you create.
|
List<String> |
getVpcSubnetIds()
The VPC subnet IDs for the DB proxy endpoint that you create.
|
int |
hashCode() |
void |
setDBProxyEndpointName(String dBProxyEndpointName)
The name of the DB proxy endpoint to create.
|
void |
setDBProxyName(String dBProxyName)
The name of the DB proxy associated with the DB proxy endpoint that you create.
|
void |
setTags(Collection<Tag> tags) |
void |
setTargetRole(String targetRole)
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
The VPC security group IDs for the DB proxy endpoint that you create.
|
void |
setVpcSubnetIds(Collection<String> vpcSubnetIds)
The VPC subnet IDs for the DB proxy endpoint that you create.
|
String |
toString()
Returns a string representation of this object.
|
CreateDBProxyEndpointRequest |
withDBProxyEndpointName(String dBProxyEndpointName)
The name of the DB proxy endpoint to create.
|
CreateDBProxyEndpointRequest |
withDBProxyName(String dBProxyName)
The name of the DB proxy associated with the DB proxy endpoint that you create.
|
CreateDBProxyEndpointRequest |
withTags(Collection<Tag> tags) |
CreateDBProxyEndpointRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
CreateDBProxyEndpointRequest |
withTargetRole(DBProxyEndpointTargetRole targetRole)
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
|
CreateDBProxyEndpointRequest |
withTargetRole(String targetRole)
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
|
CreateDBProxyEndpointRequest |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
The VPC security group IDs for the DB proxy endpoint that you create.
|
CreateDBProxyEndpointRequest |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
The VPC security group IDs for the DB proxy endpoint that you create.
|
CreateDBProxyEndpointRequest |
withVpcSubnetIds(Collection<String> vpcSubnetIds)
The VPC subnet IDs for the DB proxy endpoint that you create.
|
CreateDBProxyEndpointRequest |
withVpcSubnetIds(String... vpcSubnetIds)
The VPC subnet IDs for the DB proxy endpoint that you create.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDBProxyName(String dBProxyName)
The name of the DB proxy associated with the DB proxy endpoint that you create.
dBProxyName
- The name of the DB proxy associated with the DB proxy endpoint that you create.public String getDBProxyName()
The name of the DB proxy associated with the DB proxy endpoint that you create.
public CreateDBProxyEndpointRequest withDBProxyName(String dBProxyName)
The name of the DB proxy associated with the DB proxy endpoint that you create.
dBProxyName
- The name of the DB proxy associated with the DB proxy endpoint that you create.public void setDBProxyEndpointName(String dBProxyEndpointName)
The name of the DB proxy endpoint to create.
dBProxyEndpointName
- The name of the DB proxy endpoint to create.public String getDBProxyEndpointName()
The name of the DB proxy endpoint to create.
public CreateDBProxyEndpointRequest withDBProxyEndpointName(String dBProxyEndpointName)
The name of the DB proxy endpoint to create.
dBProxyEndpointName
- The name of the DB proxy endpoint to create.public List<String> getVpcSubnetIds()
The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet IDs than for the original DB proxy.
public void setVpcSubnetIds(Collection<String> vpcSubnetIds)
The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet IDs than for the original DB proxy.
vpcSubnetIds
- The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet
IDs than for the original DB proxy.public CreateDBProxyEndpointRequest withVpcSubnetIds(String... vpcSubnetIds)
The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet IDs than for the original DB proxy.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSubnetIds(java.util.Collection)
or withVpcSubnetIds(java.util.Collection)
if you want to
override the existing values.
vpcSubnetIds
- The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet
IDs than for the original DB proxy.public CreateDBProxyEndpointRequest withVpcSubnetIds(Collection<String> vpcSubnetIds)
The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet IDs than for the original DB proxy.
vpcSubnetIds
- The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet
IDs than for the original DB proxy.public List<String> getVpcSecurityGroupIds()
The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.
vpcSecurityGroupIds
- The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of
security group IDs than for the original DB proxy. The default is the default security group for the VPC.public CreateDBProxyEndpointRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroupIds(java.util.Collection)
or withVpcSecurityGroupIds(java.util.Collection)
if you want to override the existing values.
vpcSecurityGroupIds
- The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of
security group IDs than for the original DB proxy. The default is the default security group for the VPC.public CreateDBProxyEndpointRequest withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.
vpcSecurityGroupIds
- The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of
security group IDs than for the original DB proxy. The default is the default security group for the VPC.public void setTargetRole(String targetRole)
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations. The
default is READ_WRITE
.
targetRole
- A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
The default is READ_WRITE
.DBProxyEndpointTargetRole
public String getTargetRole()
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations. The
default is READ_WRITE
.
READ_WRITE
.DBProxyEndpointTargetRole
public CreateDBProxyEndpointRequest withTargetRole(String targetRole)
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations. The
default is READ_WRITE
.
targetRole
- A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
The default is READ_WRITE
.DBProxyEndpointTargetRole
public CreateDBProxyEndpointRequest withTargetRole(DBProxyEndpointTargetRole targetRole)
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations. The
default is READ_WRITE
.
targetRole
- A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
The default is READ_WRITE
.DBProxyEndpointTargetRole
public void setTags(Collection<Tag> tags)
tags
- public CreateDBProxyEndpointRequest withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- public CreateDBProxyEndpointRequest withTags(Collection<Tag> tags)
tags
- public String toString()
toString
in class Object
Object.toString()
public CreateDBProxyEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()