@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateNetworkConfigurationInput extends Object implements Serializable, Cloneable, StructuredPojo
Provide the security group and subnet IDs for the workers and scheduler.
Constructor and Description |
---|
UpdateNetworkConfigurationInput() |
Modifier and Type | Method and Description |
---|---|
UpdateNetworkConfigurationInput |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
Provide a JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
Provide a JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.
|
String |
toString()
Returns a string representation of this object.
|
UpdateNetworkConfigurationInput |
withSecurityGroupIds(Collection<String> securityGroupIds)
Provide a JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.
|
UpdateNetworkConfigurationInput |
withSecurityGroupIds(String... securityGroupIds)
Provide a JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.
|
public List<String> getSecurityGroupIds()
Provide a JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
Provide a JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.
securityGroupIds
- Provide a JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.public UpdateNetworkConfigurationInput withSecurityGroupIds(String... securityGroupIds)
Provide a JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.
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
- Provide a JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.public UpdateNetworkConfigurationInput withSecurityGroupIds(Collection<String> securityGroupIds)
Provide a JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.
securityGroupIds
- Provide a JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.public String toString()
toString
in class Object
Object.toString()
public UpdateNetworkConfigurationInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.