Class DirectoryVpcSettingsDescription
- java.lang.Object
-
- com.amazonaws.services.directory.model.DirectoryVpcSettingsDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DirectoryVpcSettingsDescription extends Object implements Serializable, Cloneable
Contains information about the directory.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DirectoryVpcSettingsDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String... availabilityZones)
The list of Availability Zones that the directory is in.DirectoryVpcSettingsDescription
withAvailabilityZones(Collection<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(String... subnetIds)
The identifiers of the subnets for the directory servers.DirectoryVpcSettingsDescription
withSubnetIds(Collection<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.
-
-
-
Method Detail
-
setVpcId
public void setVpcId(String vpcId)
The identifier of the VPC that the directory is in.
- Parameters:
vpcId
- The identifier of the VPC that the directory is in.
-
getVpcId
public String getVpcId()
The identifier of the VPC that the directory is in.
- Returns:
- The identifier of the VPC that the directory is in.
-
withVpcId
public DirectoryVpcSettingsDescription withVpcId(String vpcId)
The identifier of the VPC that the directory is in.
- Parameters:
vpcId
- The identifier of the VPC that the directory is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSubnetIds
public List<String> getSubnetIds()
The identifiers of the subnets for the directory servers.
- Returns:
- The identifiers of the subnets for the directory servers.
-
setSubnetIds
public void setSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets for the directory servers.
- Parameters:
subnetIds
- The identifiers of the subnets for the directory servers.
-
withSubnetIds
public DirectoryVpcSettingsDescription withSubnetIds(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)
orwithSubnetIds(java.util.Collection)
if you want to override the existing values.- Parameters:
subnetIds
- The identifiers of the subnets for the directory servers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubnetIds
public DirectoryVpcSettingsDescription withSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets for the directory servers.
- Parameters:
subnetIds
- The identifiers of the subnets for the directory servers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSecurityGroupId
public void setSecurityGroupId(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.
- Parameters:
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.
-
getSecurityGroupId
public 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.
- Returns:
- 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.
-
withSecurityGroupId
public DirectoryVpcSettingsDescription withSecurityGroupId(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAvailabilityZones
public List<String> getAvailabilityZones()
The list of Availability Zones that the directory is in.
- Returns:
- The list of Availability Zones that the directory is in.
-
setAvailabilityZones
public void setAvailabilityZones(Collection<String> availabilityZones)
The list of Availability Zones that the directory is in.
- Parameters:
availabilityZones
- The list of Availability Zones that the directory is in.
-
withAvailabilityZones
public DirectoryVpcSettingsDescription withAvailabilityZones(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)
orwithAvailabilityZones(java.util.Collection)
if you want to override the existing values.- Parameters:
availabilityZones
- The list of Availability Zones that the directory is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAvailabilityZones
public DirectoryVpcSettingsDescription withAvailabilityZones(Collection<String> availabilityZones)
The list of Availability Zones that the directory is in.
- Parameters:
availabilityZones
- The list of Availability Zones that the directory is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DirectoryVpcSettingsDescription clone()
-
-