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 String getVpcId()
Constraints:
Pattern: ^(vpc-[0-9a-f]{8})$
public void setVpcId(String vpcId)
Constraints:
Pattern: ^(vpc-[0-9a-f]{8})$
vpcId - The identifier of the VPC to create the Simple AD directory in.public DirectoryVpcSettings withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^(vpc-[0-9a-f]{8})$
vpcId - The identifier of the VPC to create the Simple AD directory in.public List<String> getSubnetIds()
public void setSubnetIds(Collection<String> subnetIds)
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)
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.
Returns a reference to this object so that method calls can be chained together.
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)
Returns a reference to this object so that method calls can be chained together.
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.