@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.
Constructor and Description |
---|
VpcConfiguration() |
Modifier and Type | Method and Description |
---|---|
VpcConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
|
List<String> |
getSubnetIds()
The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
|
void |
setSubnetIds(Collection<String> subnetIds)
The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.
|
String |
toString()
Returns a string representation of this object.
|
VpcConfiguration |
withSecurityGroupIds(Collection<String> securityGroupIds)
The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
|
VpcConfiguration |
withSecurityGroupIds(String... securityGroupIds)
The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
|
VpcConfiguration |
withSubnetIds(Collection<String> subnetIds)
The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.
|
VpcConfiguration |
withSubnetIds(String... subnetIds)
The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.
|
public List<String> getSecurityGroupIds()
The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
securityGroupIds
- The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to
connect.public VpcConfiguration withSecurityGroupIds(String... securityGroupIds)
The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
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 list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to
connect.public VpcConfiguration withSecurityGroupIds(Collection<String> securityGroupIds)
The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
securityGroupIds
- The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to
connect.public List<String> getSubnetIds()
The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.
public void setSubnetIds(Collection<String> subnetIds)
The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.
subnetIds
- The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.public VpcConfiguration withSubnetIds(String... subnetIds)
The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.
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
- The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.public VpcConfiguration withSubnetIds(Collection<String> subnetIds)
The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.
subnetIds
- The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.public String toString()
toString
in class Object
Object.toString()
public VpcConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.