Class DirectoryConnectSettingsDescription

java.lang.Object
com.amazonaws.services.directory.model.DirectoryConnectSettingsDescription
All Implemented Interfaces:
Serializable, Cloneable

public class DirectoryConnectSettingsDescription extends Object implements Serializable, Cloneable

Contains information about an AD Connector directory.

See Also:
  • Constructor Details

    • DirectoryConnectSettingsDescription

      public DirectoryConnectSettingsDescription()
  • Method Details

    • setVpcId

      public void setVpcId(String vpcId)

      The identifier of the VPC that the AD Connector is in.

      Parameters:
      vpcId - The identifier of the VPC that the AD Connector is in.
    • getVpcId

      public String getVpcId()

      The identifier of the VPC that the AD Connector is in.

      Returns:
      The identifier of the VPC that the AD Connector is in.
    • withVpcId

      public DirectoryConnectSettingsDescription withVpcId(String vpcId)

      The identifier of the VPC that the AD Connector is in.

      Parameters:
      vpcId - The identifier of the VPC that the AD Connector is in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getSubnetIds

      public List<String> getSubnetIds()

      A list of subnet identifiers in the VPC that the AD connector is in.

      Returns:
      A list of subnet identifiers in the VPC that the AD connector is in.
    • setSubnetIds

      public void setSubnetIds(Collection<String> subnetIds)

      A list of subnet identifiers in the VPC that the AD connector is in.

      Parameters:
      subnetIds - A list of subnet identifiers in the VPC that the AD connector is in.
    • withSubnetIds

      public DirectoryConnectSettingsDescription withSubnetIds(String... subnetIds)

      A list of subnet identifiers in the VPC that the AD connector is in.

      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 - A list of subnet identifiers in the VPC that the AD connector is in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withSubnetIds

      public DirectoryConnectSettingsDescription withSubnetIds(Collection<String> subnetIds)

      A list of subnet identifiers in the VPC that the AD connector is in.

      Parameters:
      subnetIds - A list of subnet identifiers in the VPC that the AD connector is in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCustomerUserName

      public void setCustomerUserName(String customerUserName)

      The username of the service account in the on-premises directory.

      Parameters:
      customerUserName - The username of the service account in the on-premises directory.
    • getCustomerUserName

      public String getCustomerUserName()

      The username of the service account in the on-premises directory.

      Returns:
      The username of the service account in the on-premises directory.
    • withCustomerUserName

      public DirectoryConnectSettingsDescription withCustomerUserName(String customerUserName)

      The username of the service account in the on-premises directory.

      Parameters:
      customerUserName - The username of the service account in the on-premises directory.
      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 AD Connector directory.

      Parameters:
      securityGroupId - The security group identifier for the AD Connector directory.
    • getSecurityGroupId

      public String getSecurityGroupId()

      The security group identifier for the AD Connector directory.

      Returns:
      The security group identifier for the AD Connector directory.
    • withSecurityGroupId

      public DirectoryConnectSettingsDescription withSecurityGroupId(String securityGroupId)

      The security group identifier for the AD Connector directory.

      Parameters:
      securityGroupId - The security group identifier for the AD Connector directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getAvailabilityZones

      public List<String> getAvailabilityZones()

      A list of the Availability Zones that the directory is in.

      Returns:
      A list of the Availability Zones that the directory is in.
    • setAvailabilityZones

      public void setAvailabilityZones(Collection<String> availabilityZones)

      A list of the Availability Zones that the directory is in.

      Parameters:
      availabilityZones - A list of the Availability Zones that the directory is in.
    • withAvailabilityZones

      public DirectoryConnectSettingsDescription withAvailabilityZones(String... availabilityZones)

      A list of the 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 - A list of the Availability Zones that the directory is in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withAvailabilityZones

      public DirectoryConnectSettingsDescription withAvailabilityZones(Collection<String> availabilityZones)

      A list of the Availability Zones that the directory is in.

      Parameters:
      availabilityZones - A list of the Availability Zones that the directory is in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getConnectIps

      public List<String> getConnectIps()

      The IP addresses of the AD Connector servers.

      Returns:
      The IP addresses of the AD Connector servers.
    • setConnectIps

      public void setConnectIps(Collection<String> connectIps)

      The IP addresses of the AD Connector servers.

      Parameters:
      connectIps - The IP addresses of the AD Connector servers.
    • withConnectIps

      public DirectoryConnectSettingsDescription withConnectIps(String... connectIps)

      The IP addresses of the AD Connector servers.

      NOTE: This method appends the values to the existing list (if any). Use setConnectIps(java.util.Collection) or withConnectIps(java.util.Collection) if you want to override the existing values.

      Parameters:
      connectIps - The IP addresses of the AD Connector servers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withConnectIps

      public DirectoryConnectSettingsDescription withConnectIps(Collection<String> connectIps)

      The IP addresses of the AD Connector servers.

      Parameters:
      connectIps - The IP addresses of the AD Connector servers.
      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