@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcInformation extends Object implements Serializable, Cloneable, StructuredPojo
Information about your VPC and security groups used with the connector.
Constructor and Description |
---|
VpcInformation() |
Modifier and Type | Method and Description |
---|---|
VpcInformation |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The security groups used with the connector.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The security groups used with the connector.
|
String |
toString()
Returns a string representation of this object.
|
VpcInformation |
withSecurityGroupIds(Collection<String> securityGroupIds)
The security groups used with the connector.
|
VpcInformation |
withSecurityGroupIds(String... securityGroupIds)
The security groups used with the connector.
|
public List<String> getSecurityGroupIds()
The security groups used with the connector. You can use a maximum of 4 security groups with a connector.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The security groups used with the connector. You can use a maximum of 4 security groups with a connector.
securityGroupIds
- The security groups used with the connector. You can use a maximum of 4 security groups with a connector.public VpcInformation withSecurityGroupIds(String... securityGroupIds)
The security groups used with the connector. You can use a maximum of 4 security groups with a connector.
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
- The security groups used with the connector. You can use a maximum of 4 security groups with a connector.public VpcInformation withSecurityGroupIds(Collection<String> securityGroupIds)
The security groups used with the connector. You can use a maximum of 4 security groups with a connector.
securityGroupIds
- The security groups used with the connector. You can use a maximum of 4 security groups with a connector.public String toString()
toString
in class Object
Object.toString()
public VpcInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.