@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountLink extends Object implements Serializable, Cloneable, StructuredPojo
Information about about the account link.
Constructor and Description |
---|
AccountLink() |
Modifier and Type | Method and Description |
---|---|
AccountLink |
clone() |
boolean |
equals(Object obj) |
String |
getAccountLinkId()
The identifier of the account link.
|
String |
getAccountLinkStatus()
The status of the account link.
|
String |
getSourceAccountId()
The identifier of the source account.
|
String |
getTargetAccountId()
The identifier of the target account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountLinkId(String accountLinkId)
The identifier of the account link.
|
void |
setAccountLinkStatus(String accountLinkStatus)
The status of the account link.
|
void |
setSourceAccountId(String sourceAccountId)
The identifier of the source account.
|
void |
setTargetAccountId(String targetAccountId)
The identifier of the target account.
|
String |
toString()
Returns a string representation of this object.
|
AccountLink |
withAccountLinkId(String accountLinkId)
The identifier of the account link.
|
AccountLink |
withAccountLinkStatus(AccountLinkStatusEnum accountLinkStatus)
The status of the account link.
|
AccountLink |
withAccountLinkStatus(String accountLinkStatus)
The status of the account link.
|
AccountLink |
withSourceAccountId(String sourceAccountId)
The identifier of the source account.
|
AccountLink |
withTargetAccountId(String targetAccountId)
The identifier of the target account.
|
public void setAccountLinkId(String accountLinkId)
The identifier of the account link.
accountLinkId
- The identifier of the account link.public String getAccountLinkId()
The identifier of the account link.
public AccountLink withAccountLinkId(String accountLinkId)
The identifier of the account link.
accountLinkId
- The identifier of the account link.public void setAccountLinkStatus(String accountLinkStatus)
The status of the account link.
accountLinkStatus
- The status of the account link.AccountLinkStatusEnum
public String getAccountLinkStatus()
The status of the account link.
AccountLinkStatusEnum
public AccountLink withAccountLinkStatus(String accountLinkStatus)
The status of the account link.
accountLinkStatus
- The status of the account link.AccountLinkStatusEnum
public AccountLink withAccountLinkStatus(AccountLinkStatusEnum accountLinkStatus)
The status of the account link.
accountLinkStatus
- The status of the account link.AccountLinkStatusEnum
public void setSourceAccountId(String sourceAccountId)
The identifier of the source account.
sourceAccountId
- The identifier of the source account.public String getSourceAccountId()
The identifier of the source account.
public AccountLink withSourceAccountId(String sourceAccountId)
The identifier of the source account.
sourceAccountId
- The identifier of the source account.public void setTargetAccountId(String targetAccountId)
The identifier of the target account.
targetAccountId
- The identifier of the target account.public String getTargetAccountId()
The identifier of the target account.
public AccountLink withTargetAccountId(String targetAccountId)
The identifier of the target account.
targetAccountId
- The identifier of the target account.public String toString()
toString
in class Object
Object.toString()
public AccountLink clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.