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 AccountWithRestoreAccess
clone()
boolean
equals(Object obj)
String
getAccountId()
The identifier of an AWS customer account authorized to restore a snapshot.int
hashCode()
void
setAccountId(String accountId)
The identifier of an AWS customer account authorized to restore a snapshot.String
toString()
Returns a string representation of this object; useful for testing and debugging.AccountWithRestoreAccess
withAccountId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AccountWithRestoreAccess clone()
-
-