Class DirectoryVpcSettingsDescription
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about the directory.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The list of Availability Zones that the directory is in.The security group identifier for the directory.The identifiers of the subnets for the directory servers.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
The identifier of the VPC that the directory is in.toString()
Returns a string representation of this object; useful for testing and debugging.withAvailabilityZones
(String... availabilityZones) The list of Availability Zones that the directory is in.withAvailabilityZones
(Collection<String> availabilityZones) The list of Availability Zones that the directory is in.withSecurityGroupId
(String securityGroupId) The security group identifier for the directory.withSubnetIds
(String... subnetIds) The identifiers of the subnets for the directory servers.withSubnetIds
(Collection<String> subnetIds) The identifiers of the subnets for the directory servers.The identifier of the VPC that the directory is in.
-
Constructor Details
-
DirectoryVpcSettingsDescription
public DirectoryVpcSettingsDescription()
-
-
Method Details
-
setVpcId
The identifier of the VPC that the directory is in.
- Parameters:
vpcId
- The identifier of the VPC that the directory is in.
-
getVpcId
The identifier of the VPC that the directory is in.
- Returns:
- The identifier of the VPC that the directory is in.
-
withVpcId
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
The identifiers of the subnets for the directory servers.
- Returns:
- The identifiers of the subnets for the directory servers.
-
setSubnetIds
The identifiers of the subnets for the directory servers.
- Parameters:
subnetIds
- The identifiers of the subnets for the directory servers.
-
withSubnetIds
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
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
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
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
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
The list of Availability Zones that the directory is in.
- Returns:
- The list of Availability Zones that the directory is in.
-
setAvailabilityZones
The list of Availability Zones that the directory is in.
- Parameters:
availabilityZones
- The list of Availability Zones that the directory is in.
-
withAvailabilityZones
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-