@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see About networking on Amazon MWAA.
Constructor and Description |
---|
NetworkConfiguration() |
Modifier and Type | Method and Description |
---|---|
NetworkConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
A list of security group IDs.
|
List<String> |
getSubnetIds()
A list of subnet IDs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs.
|
String |
toString()
Returns a string representation of this object.
|
NetworkConfiguration |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs.
|
NetworkConfiguration |
withSecurityGroupIds(String... securityGroupIds)
A list of security group IDs.
|
NetworkConfiguration |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs.
|
NetworkConfiguration |
withSubnetIds(String... subnetIds)
A list of subnet IDs.
|
public List<String> getSubnetIds()
A list of subnet IDs. For more information, see About networking on Amazon MWAA.
public void setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs. For more information, see About networking on Amazon MWAA.
subnetIds
- A list of subnet IDs. For more information, see About networking on Amazon
MWAA.public NetworkConfiguration withSubnetIds(String... subnetIds)
A list of subnet IDs. For more information, see About networking on Amazon MWAA.
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 subnet IDs. For more information, see About networking on Amazon
MWAA.public NetworkConfiguration withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs. For more information, see About networking on Amazon MWAA.
subnetIds
- A list of subnet IDs. For more information, see About networking on Amazon
MWAA.public List<String> getSecurityGroupIds()
A list of security group IDs. For more information, see Security in your VPC on Amazon MWAA.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs. For more information, see Security in your VPC on Amazon MWAA.
securityGroupIds
- A list of security group IDs. For more information, see Security in your VPC on Amazon
MWAA.public NetworkConfiguration withSecurityGroupIds(String... securityGroupIds)
A list of security group IDs. For more information, see Security in your VPC on Amazon MWAA.
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 security group IDs. For more information, see Security in your VPC on Amazon
MWAA.public NetworkConfiguration withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs. For more information, see Security in your VPC on Amazon MWAA.
securityGroupIds
- A list of security group IDs. For more information, see Security in your VPC on Amazon
MWAA.public String toString()
toString
in class Object
Object.toString()
public NetworkConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.