Class ConnectDirectoryRequest

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

public class ConnectDirectoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Contains the inputs for the ConnectDirectory operation.

See Also:
  • Constructor Details

    • ConnectDirectoryRequest

      public ConnectDirectoryRequest()
  • Method Details

    • setName

      public void setName(String name)

      The fully-qualified name of the on-premises directory, such as corp.example.com.

      Parameters:
      name - The fully-qualified name of the on-premises directory, such as corp.example.com.
    • getName

      public String getName()

      The fully-qualified name of the on-premises directory, such as corp.example.com.

      Returns:
      The fully-qualified name of the on-premises directory, such as corp.example.com.
    • withName

      public ConnectDirectoryRequest withName(String name)

      The fully-qualified name of the on-premises directory, such as corp.example.com.

      Parameters:
      name - The fully-qualified name of the on-premises directory, such as corp.example.com.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setShortName

      public void setShortName(String shortName)

      The NetBIOS name of the on-premises directory, such as CORP.

      Parameters:
      shortName - The NetBIOS name of the on-premises directory, such as CORP.
    • getShortName

      public String getShortName()

      The NetBIOS name of the on-premises directory, such as CORP.

      Returns:
      The NetBIOS name of the on-premises directory, such as CORP.
    • withShortName

      public ConnectDirectoryRequest withShortName(String shortName)

      The NetBIOS name of the on-premises directory, such as CORP.

      Parameters:
      shortName - The NetBIOS name of the on-premises directory, such as CORP.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPassword

      public void setPassword(String password)

      The password for the on-premises user account.

      Parameters:
      password - The password for the on-premises user account.
    • getPassword

      public String getPassword()

      The password for the on-premises user account.

      Returns:
      The password for the on-premises user account.
    • withPassword

      public ConnectDirectoryRequest withPassword(String password)

      The password for the on-premises user account.

      Parameters:
      password - The password for the on-premises user account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDescription

      public void setDescription(String description)

      A textual description for the directory.

      Parameters:
      description - A textual description for the directory.
    • getDescription

      public String getDescription()

      A textual description for the directory.

      Returns:
      A textual description for the directory.
    • withDescription

      public ConnectDirectoryRequest withDescription(String description)

      A textual description for the directory.

      Parameters:
      description - A textual description for the directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSize

      public void setSize(String size)

      The size of the directory.

      Parameters:
      size - The size of the directory.
      See Also:
    • getSize

      public String getSize()

      The size of the directory.

      Returns:
      The size of the directory.
      See Also:
    • withSize

      public ConnectDirectoryRequest withSize(String size)

      The size of the directory.

      Parameters:
      size - The size of the directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setSize

      public void setSize(DirectorySize size)

      The size of the directory.

      Parameters:
      size - The size of the directory.
      See Also:
    • withSize

      public ConnectDirectoryRequest withSize(DirectorySize size)

      The size of the directory.

      Parameters:
      size - The size of the directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setConnectSettings

      public void setConnectSettings(DirectoryConnectSettings connectSettings)

      A DirectoryConnectSettings object that contains additional information for the operation.

      Parameters:
      connectSettings - A DirectoryConnectSettings object that contains additional information for the operation.
    • getConnectSettings

      public DirectoryConnectSettings getConnectSettings()

      A DirectoryConnectSettings object that contains additional information for the operation.

      Returns:
      A DirectoryConnectSettings object that contains additional information for the operation.
    • withConnectSettings

      public ConnectDirectoryRequest withConnectSettings(DirectoryConnectSettings connectSettings)

      A DirectoryConnectSettings object that contains additional information for the operation.

      Parameters:
      connectSettings - A DirectoryConnectSettings object that contains additional information for the operation.
      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

      public ConnectDirectoryRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: