public class DirectoryVpcSettings extends Object implements Serializable, Cloneable
Contains information for the CreateDirectory operation when a Simple AD directory is being created.
| 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 to create the Simple AD directory in.
|
int |
hashCode() |
void |
setSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets for the directory servers.
|
void |
setVpcId(String vpcId)
The identifier of the VPC to create the Simple AD directory in.
|
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 to create the Simple AD directory in.
|
public void setVpcId(String vpcId)
The identifier of the VPC to create the Simple AD directory in.
vpcId - The identifier of the VPC to create the Simple AD directory in.public String getVpcId()
The identifier of the VPC to create the Simple AD directory in.
public DirectoryVpcSettings withVpcId(String vpcId)
The identifier of the VPC to create the Simple AD directory in.
vpcId - The identifier of the VPC to create the Simple AD directory in.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 ObjectObject.toString()public DirectoryVpcSettings clone()
Copyright © 2015. All rights reserved.