@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountWithRestoreAccess extends Object implements Serializable, Cloneable
Describes an AWS customer account authorized to restore a snapshot.
Constructor and Description |
---|
AccountWithRestoreAccess() |
Modifier and Type | Method and Description |
---|---|
AccountWithRestoreAccess |
clone() |
boolean |
equals(Object obj) |
String |
getAccountAlias()
The identifier of an AWS support account authorized to restore a snapshot.
|
String |
getAccountId()
The identifier of an AWS customer account authorized to restore a snapshot.
|
int |
hashCode() |
void |
setAccountAlias(String accountAlias)
The identifier of an AWS support account authorized to restore a snapshot.
|
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 |
withAccountAlias(String accountAlias)
The identifier of an AWS support account authorized to restore a snapshot.
|
AccountWithRestoreAccess |
withAccountId(String accountId)
The identifier of an AWS customer account authorized to restore a snapshot.
|
public void setAccountId(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 String getAccountId()
The identifier of an AWS customer account authorized to restore a snapshot.
public AccountWithRestoreAccess withAccountId(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 void setAccountAlias(String accountAlias)
The identifier of an AWS support account authorized to restore a snapshot. For AWS support, the identifier is
amazon-redshift-support
.
accountAlias
- The identifier of an AWS support account authorized to restore a snapshot. For AWS support, the identifier
is amazon-redshift-support
.public String getAccountAlias()
The identifier of an AWS support account authorized to restore a snapshot. For AWS support, the identifier is
amazon-redshift-support
.
amazon-redshift-support
.public AccountWithRestoreAccess withAccountAlias(String accountAlias)
The identifier of an AWS support account authorized to restore a snapshot. For AWS support, the identifier is
amazon-redshift-support
.
accountAlias
- The identifier of an AWS support account authorized to restore a snapshot. For AWS support, the identifier
is amazon-redshift-support
.public String toString()
toString
in class Object
Object.toString()
public AccountWithRestoreAccess clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.