@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.AdminStatus
public String getAdminStatus()
Indicates whether the account is enabled as the delegated administrator.
AdminStatus
public 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.AdminStatus
public 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.AdminStatus
public String toString()
toString
in class Object
Object.toString()
public AdminAccount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.