Class AccountWithRestoreAccess

java.lang.Object
com.amazonaws.services.redshift.model.AccountWithRestoreAccess
All Implemented Interfaces:
Serializable, Cloneable

public class AccountWithRestoreAccess extends Object implements Serializable, Cloneable

Describes an AWS customer account authorized to restore a snapshot.

See Also:
  • Constructor Details

    • AccountWithRestoreAccess

      public AccountWithRestoreAccess()
  • Method Details

    • setAccountId

      public void setAccountId(String accountId)

      The identifier of an AWS customer account authorized to restore a snapshot.

      Parameters:
      accountId - The identifier of an AWS customer account authorized to restore a snapshot.
    • getAccountId

      public String getAccountId()

      The identifier of an AWS customer account authorized to restore a snapshot.

      Returns:
      The identifier of an AWS customer account authorized to restore a snapshot.
    • withAccountId

      public AccountWithRestoreAccess withAccountId(String accountId)

      The identifier of an AWS customer account authorized to restore a snapshot.

      Parameters:
      accountId - The identifier of an AWS customer account authorized to restore a snapshot.
      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 AccountWithRestoreAccess clone()
      Overrides:
      clone in class Object