@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdminAccount extends Object implements Serializable, Cloneable, StructuredPojo
The account within the organization specified as the GuardDuty delegated administrator.
| Constructor and Description |
|---|
AdminAccount() |
| Modifier and Type | Method and Description |
|---|---|
AdminAccount |
clone() |
boolean |
equals(Object obj) |
String |
getAdminAccountId()
The Amazon Web Services account ID for the account.
|
String |
getAdminStatus()
Indicates whether the account is enabled as the delegated administrator.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAdminAccountId(String adminAccountId)
The Amazon Web Services account ID for the account.
|
void |
setAdminStatus(String adminStatus)
Indicates whether the account is enabled as the delegated administrator.
|
String |
toString()
Returns a string representation of this object.
|
AdminAccount |
withAdminAccountId(String adminAccountId)
The Amazon Web Services account ID for the account.
|
AdminAccount |
withAdminStatus(AdminStatus adminStatus)
Indicates whether the account is enabled as the delegated administrator.
|
AdminAccount |
withAdminStatus(String adminStatus)
Indicates whether the account is enabled as the delegated administrator.
|
public void setAdminAccountId(String adminAccountId)
The Amazon Web Services account ID for the account.
adminAccountId - The Amazon Web Services account ID for the account.public String getAdminAccountId()
The Amazon Web Services account ID for the account.
public AdminAccount withAdminAccountId(String adminAccountId)
The Amazon Web Services account ID for the account.
adminAccountId - The Amazon Web Services account ID for the account.public void setAdminStatus(String adminStatus)
Indicates whether the account is enabled as the delegated administrator.
adminStatus - Indicates whether the account is enabled as the delegated administrator.AdminStatuspublic String getAdminStatus()
Indicates whether the account is enabled as the delegated administrator.
AdminStatuspublic AdminAccount withAdminStatus(String adminStatus)
Indicates whether the account is enabled as the delegated administrator.
adminStatus - Indicates whether the account is enabled as the delegated administrator.AdminStatuspublic AdminAccount withAdminStatus(AdminStatus adminStatus)
Indicates whether the account is enabled as the delegated administrator.
adminStatus - Indicates whether the account is enabled as the delegated administrator.AdminStatuspublic String toString()
toString in class ObjectObject.toString()public AdminAccount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.