@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DirectoryVpcSettings extends Object implements Serializable, Cloneable, StructuredPojo
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
Constructor and Description |
---|
DirectoryVpcSettings() |
Modifier and Type | Method and Description |
---|---|
DirectoryVpcSettings |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSubnetIds()
The identifiers of the subnets for the directory servers.
|
String |
getVpcId()
The identifier of the VPC in which to create the directory.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets for the directory servers.
|
void |
setVpcId(String vpcId)
The identifier of the VPC in which to create the directory.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DirectoryVpcSettings |
withSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets for the directory servers.
|
DirectoryVpcSettings |
withSubnetIds(String... subnetIds)
The identifiers of the subnets for the directory servers.
|
DirectoryVpcSettings |
withVpcId(String vpcId)
The identifier of the VPC in which to create the directory.
|
public void setVpcId(String vpcId)
The identifier of the VPC in which to create the directory.
vpcId
- The identifier of the VPC in which to create the directory.public String getVpcId()
The identifier of the VPC in which to create the directory.
public DirectoryVpcSettings withVpcId(String vpcId)
The identifier of the VPC in which to create the directory.
vpcId
- The identifier of the VPC in which to create the directory.public List<String> getSubnetIds()
The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets.
public void setSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets.
subnetIds
- The identifiers of the subnets for the directory servers. The two subnets must be in different
Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these
subnets.public DirectoryVpcSettings withSubnetIds(String... subnetIds)
The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets.
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 identifiers of the subnets for the directory servers. The two subnets must be in different
Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these
subnets.public DirectoryVpcSettings withSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets.
subnetIds
- The identifiers of the subnets for the directory servers. The two subnets must be in different
Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these
subnets.public String toString()
toString
in class Object
Object.toString()
public DirectoryVpcSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.