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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccountWithRestoreAccess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountWithRestoreAccessclone()booleanequals(Object obj)StringgetAccountId()The identifier of an AWS customer account authorized to restore a snapshot.inthashCode()voidsetAccountId(String accountId)The identifier of an AWS customer account authorized to restore a snapshot.StringtoString()Returns a string representation of this object; useful for testing and debugging.AccountWithRestoreAccesswithAccountId(String accountId)The identifier of an AWS customer account authorized to restore a snapshot.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AccountWithRestoreAccess clone()
-
-