public class AccountWithRestoreAccess
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an AWS customer account authorized to restore a snapshot.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
accountId
The identifier of an AWS customer account authorized to restore a
snapshot.
|
Constructor and Description |
---|
AccountWithRestoreAccess() |
Modifier and Type | Method and Description |
---|---|
AccountWithRestoreAccess |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccountId()
The identifier of an AWS customer account authorized to restore a
snapshot.
|
int |
hashCode() |
void |
setAccountId(java.lang.String accountId)
The identifier of an AWS customer account authorized to restore a
snapshot.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AccountWithRestoreAccess |
withAccountId(java.lang.String accountId)
The identifier of an AWS customer account authorized to restore a
snapshot.
|
private java.lang.String accountId
The identifier of an AWS customer account authorized to restore a snapshot.
public void setAccountId(java.lang.String accountId)
The identifier of an AWS customer account authorized to restore a snapshot.
accountId
- The identifier of an AWS customer account authorized to restore a
snapshot.public java.lang.String getAccountId()
The identifier of an AWS customer account authorized to restore a snapshot.
public AccountWithRestoreAccess withAccountId(java.lang.String accountId)
The identifier of an AWS customer account authorized to restore a snapshot.
accountId
- The identifier of an AWS customer account authorized to restore a
snapshot.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AccountWithRestoreAccess clone()
clone
in class java.lang.Object