public class DirectoryVpcSettingsDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about the directory.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
availabilityZones
The list of Availability Zones that the directory is in.
|
private java.lang.String |
securityGroupId
The security group identifier for the directory.
|
private SdkInternalList<java.lang.String> |
subnetIds
The identifiers of the subnets for the directory servers.
|
private java.lang.String |
vpcId
The identifier of the VPC that the directory is in.
|
Constructor and Description |
---|
DirectoryVpcSettingsDescription() |
Modifier and Type | Method and Description |
---|---|
DirectoryVpcSettingsDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAvailabilityZones()
The list of Availability Zones that the directory is in.
|
java.lang.String |
getSecurityGroupId()
The security group identifier for the directory.
|
java.util.List<java.lang.String> |
getSubnetIds()
The identifiers of the subnets for the directory servers.
|
java.lang.String |
getVpcId()
The identifier of the VPC that the directory is in.
|
int |
hashCode() |
void |
setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
The list of Availability Zones that the directory is in.
|
void |
setSecurityGroupId(java.lang.String securityGroupId)
The security group identifier for the directory.
|
void |
setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The identifiers of the subnets for the directory servers.
|
void |
setVpcId(java.lang.String vpcId)
The identifier of the VPC that the directory is in.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DirectoryVpcSettingsDescription |
withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
The list of Availability Zones that the directory is in.
|
DirectoryVpcSettingsDescription |
withAvailabilityZones(java.lang.String... availabilityZones)
The list of Availability Zones that the directory is in.
|
DirectoryVpcSettingsDescription |
withSecurityGroupId(java.lang.String securityGroupId)
The security group identifier for the directory.
|
DirectoryVpcSettingsDescription |
withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The identifiers of the subnets for the directory servers.
|
DirectoryVpcSettingsDescription |
withSubnetIds(java.lang.String... subnetIds)
The identifiers of the subnets for the directory servers.
|
DirectoryVpcSettingsDescription |
withVpcId(java.lang.String vpcId)
The identifier of the VPC that the directory is in.
|
private java.lang.String vpcId
The identifier of the VPC that the directory is in.
private SdkInternalList<java.lang.String> subnetIds
The identifiers of the subnets for the directory servers.
private java.lang.String securityGroupId
The security group identifier for the directory. If the directory was created before 8/1/2014, this is the identifier of the directory members security group that was created when the directory was created. If the directory was created after this date, this value is null.
private SdkInternalList<java.lang.String> availabilityZones
The list of Availability Zones that the directory is in.
public void setVpcId(java.lang.String vpcId)
The identifier of the VPC that the directory is in.
vpcId
- The identifier of the VPC that the directory is in.public java.lang.String getVpcId()
The identifier of the VPC that the directory is in.
public DirectoryVpcSettingsDescription withVpcId(java.lang.String vpcId)
The identifier of the VPC that the directory is in.
vpcId
- The identifier of the VPC that the directory is in.public java.util.List<java.lang.String> getSubnetIds()
The identifiers of the subnets for the directory servers.
public void setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The identifiers of the subnets for the directory servers.
subnetIds
- The identifiers of the subnets for the directory servers.public DirectoryVpcSettingsDescription withSubnetIds(java.lang.String... subnetIds)
The identifiers of the subnets for the directory servers.
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.public DirectoryVpcSettingsDescription withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The identifiers of the subnets for the directory servers.
subnetIds
- The identifiers of the subnets for the directory servers.public void setSecurityGroupId(java.lang.String securityGroupId)
The security group identifier for the directory. If the directory was created before 8/1/2014, this is the identifier of the directory members security group that was created when the directory was created. If the directory was created after this date, this value is null.
securityGroupId
- The security group identifier for the directory. If the directory
was created before 8/1/2014, this is the identifier of the
directory members security group that was created when the
directory was created. If the directory was created after this
date, this value is null.public java.lang.String getSecurityGroupId()
The security group identifier for the directory. If the directory was created before 8/1/2014, this is the identifier of the directory members security group that was created when the directory was created. If the directory was created after this date, this value is null.
public DirectoryVpcSettingsDescription withSecurityGroupId(java.lang.String securityGroupId)
The security group identifier for the directory. If the directory was created before 8/1/2014, this is the identifier of the directory members security group that was created when the directory was created. If the directory was created after this date, this value is null.
securityGroupId
- The security group identifier for the directory. If the directory
was created before 8/1/2014, this is the identifier of the
directory members security group that was created when the
directory was created. If the directory was created after this
date, this value is null.public java.util.List<java.lang.String> getAvailabilityZones()
The list of Availability Zones that the directory is in.
public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
The list of Availability Zones that the directory is in.
availabilityZones
- The list of Availability Zones that the directory is in.public DirectoryVpcSettingsDescription withAvailabilityZones(java.lang.String... availabilityZones)
The list of Availability Zones that the directory is in.
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.
availabilityZones
- The list of Availability Zones that the directory is in.public DirectoryVpcSettingsDescription withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
The list of Availability Zones that the directory is in.
availabilityZones
- The list of Availability Zones that the directory is in.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DirectoryVpcSettingsDescription clone()
clone
in class java.lang.Object