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:
  • Constructor Details

    • DirectoryVpcSettingsDescription

      public DirectoryVpcSettingsDescription()
  • Method Details

    • 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) or withSubnetIds(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) or withAvailabilityZones(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object