public class DirectoryVpcSettingsDescription extends Object implements Serializable, Cloneable
Contains information about a Simple AD directory.
| Constructor and Description |
|---|
DirectoryVpcSettingsDescription() |
| Modifier and Type | Method and Description |
|---|---|
DirectoryVpcSettingsDescription |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZones()
The list of Availability Zones that the directory is in.
|
String |
getSecurityGroupId()
The security group identifier for the directory.
|
List<String> |
getSubnetIds()
The identifiers of the subnets for the directory servers.
|
String |
getVpcId()
The identifier of the VPC that the directory is in.
|
int |
hashCode() |
void |
setAvailabilityZones(Collection<String> availabilityZones)
The list of Availability Zones that the directory is in.
|
void |
setSecurityGroupId(String securityGroupId)
The security group identifier for the directory.
|
void |
setSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets for the directory servers.
|
void |
setVpcId(String vpcId)
The identifier of the VPC that the directory is in.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DirectoryVpcSettingsDescription |
withAvailabilityZones(Collection<String> availabilityZones)
The list of Availability Zones that the directory is in.
|
DirectoryVpcSettingsDescription |
withAvailabilityZones(String... availabilityZones)
The list of Availability Zones that the directory is in.
|
DirectoryVpcSettingsDescription |
withSecurityGroupId(String securityGroupId)
The security group identifier for the directory.
|
DirectoryVpcSettingsDescription |
withSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets for the directory servers.
|
DirectoryVpcSettingsDescription |
withSubnetIds(String... subnetIds)
The identifiers of the subnets for the directory servers.
|
DirectoryVpcSettingsDescription |
withVpcId(String vpcId)
The identifier of the VPC that the directory is 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 that the directory is in.public DirectoryVpcSettingsDescription 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 that the directory is in.public List<String> getSubnetIds()
public void setSubnetIds(Collection<String> subnetIds)
subnetIds - The identifiers of the subnets for the directory servers.public DirectoryVpcSettingsDescription 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.public DirectoryVpcSettingsDescription 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.public String getSecurityGroupId()
Constraints:
Pattern: ^(sg-[0-9a-f]{8})$
public void setSecurityGroupId(String securityGroupId)
Constraints:
Pattern: ^(sg-[0-9a-f]{8})$
securityGroupId - The security group identifier for the directory.public DirectoryVpcSettingsDescription withSecurityGroupId(String securityGroupId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^(sg-[0-9a-f]{8})$
securityGroupId - The security group identifier for the directory.public List<String> getAvailabilityZones()
public void setAvailabilityZones(Collection<String> availabilityZones)
availabilityZones - The list of Availability Zones that the directory is in.public DirectoryVpcSettingsDescription withAvailabilityZones(String... availabilityZones)
NOTE: This method appends the values to the existing list (if
any). Use setAvailabilityZones(java.util.Collection) or
withAvailabilityZones(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.
availabilityZones - The list of Availability Zones that the directory is in.public DirectoryVpcSettingsDescription withAvailabilityZones(Collection<String> availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones - The list of Availability Zones that the directory is in.public String toString()
toString in class ObjectObject.toString()public DirectoryVpcSettingsDescription clone()
Copyright © 2015. All rights reserved.