@Generated(value="software.amazon.awssdk:codegen") public final class NetworkConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkConfiguration.Builder,NetworkConfiguration>
Provide the security group and subnet IDs for the workers and scheduler.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NetworkConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NetworkConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSecurityGroupIds()
Returns true if the SecurityGroupIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSubnetIds()
Returns true if the SubnetIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroupIds()
A JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.
|
static Class<? extends NetworkConfiguration.Builder> |
serializableBuilderClass() |
List<String> |
subnetIds()
Provide a JSON list of 2 subnet IDs by name.
|
NetworkConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasSecurityGroupIds()
public final List<String> securityGroupIds()
A JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSecurityGroupIds() to see if a value was sent in this field.
public final boolean hasSubnetIds()
public final List<String> subnetIds()
Provide a JSON list of 2 subnet IDs by name. These must be private subnets, in the same VPC, in two different availability zones.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSubnetIds() to see if a value was sent in this field.
public NetworkConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NetworkConfiguration.Builder,NetworkConfiguration>public static NetworkConfiguration.Builder builder()
public static Class<? extends NetworkConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.