@Generated(value="software.amazon.awssdk:codegen") public class AwsVpcConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<AwsVpcConfiguration.Builder,AwsVpcConfiguration>
An object representing the subnets and security groups for a task or service.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsVpcConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsVpcConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
List<String> |
securityGroups()
The security groups associated with the task or service.
|
static Class<? extends AwsVpcConfiguration.Builder> |
serializableBuilderClass() |
List<String> |
subnets()
The subnets associated with the task or service.
|
AwsVpcConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic List<String> subnets()
The subnets associated with the task or service.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> securityGroups()
The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AwsVpcConfiguration.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<AwsVpcConfiguration.Builder,AwsVpcConfiguration>public static AwsVpcConfiguration.Builder builder()
public static Class<? extends AwsVpcConfiguration.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.