@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceVpcConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides configuration information needed to connect to an Amazon VPC (Virtual Private Cloud).
Constructor and Description |
---|
DataSourceVpcConfiguration() |
Modifier and Type | Method and Description |
---|---|
DataSourceVpcConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
A list of identifiers of security groups within your Amazon VPC.
|
List<String> |
getSubnetIds()
A list of identifiers for subnets within your Amazon VPC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of identifiers of security groups within your Amazon VPC.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of identifiers for subnets within your Amazon VPC.
|
String |
toString()
Returns a string representation of this object.
|
DataSourceVpcConfiguration |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of identifiers of security groups within your Amazon VPC.
|
DataSourceVpcConfiguration |
withSecurityGroupIds(String... securityGroupIds)
A list of identifiers of security groups within your Amazon VPC.
|
DataSourceVpcConfiguration |
withSubnetIds(Collection<String> subnetIds)
A list of identifiers for subnets within your Amazon VPC.
|
DataSourceVpcConfiguration |
withSubnetIds(String... subnetIds)
A list of identifiers for subnets within your Amazon VPC.
|
public List<String> getSubnetIds()
A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device.
public void setSubnetIds(Collection<String> subnetIds)
A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device.
subnetIds
- A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each
other in the VPC, and they should have outgoing access to the Internet through a NAT device.public DataSourceVpcConfiguration withSubnetIds(String... subnetIds)
A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each
other in the VPC, and they should have outgoing access to the Internet through a NAT device.public DataSourceVpcConfiguration withSubnetIds(Collection<String> subnetIds)
A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device.
subnetIds
- A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each
other in the VPC, and they should have outgoing access to the Internet through a NAT device.public List<String> getSecurityGroupIds()
A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Q Business to connect to the data source.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Q Business to connect to the data source.
securityGroupIds
- A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon
Q Business to connect to the data source.public DataSourceVpcConfiguration withSecurityGroupIds(String... securityGroupIds)
A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Q Business to connect to the data source.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon
Q Business to connect to the data source.public DataSourceVpcConfiguration withSecurityGroupIds(Collection<String> securityGroupIds)
A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Q Business to connect to the data source.
securityGroupIds
- A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon
Q Business to connect to the data source.public String toString()
toString
in class Object
Object.toString()
public DataSourceVpcConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.