@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdminAccount extends Object implements Serializable, Cloneable, StructuredPojo
Represents a Security Hub administrator account designated by an organization management account.
Constructor and Description |
---|
AdminAccount() |
Modifier and Type | Method and Description |
---|---|
AdminAccount |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account identifier of the Security Hub administrator account.
|
String |
getStatus()
The current status of the Security Hub administrator account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The Amazon Web Services account identifier of the Security Hub administrator account.
|
void |
setStatus(String status)
The current status of the Security Hub administrator account.
|
String |
toString()
Returns a string representation of this object.
|
AdminAccount |
withAccountId(String accountId)
The Amazon Web Services account identifier of the Security Hub administrator account.
|
AdminAccount |
withStatus(AdminStatus status)
The current status of the Security Hub administrator account.
|
AdminAccount |
withStatus(String status)
The current status of the Security Hub administrator account.
|
public void setAccountId(String accountId)
The Amazon Web Services account identifier of the Security Hub administrator account.
accountId
- The Amazon Web Services account identifier of the Security Hub administrator account.public String getAccountId()
The Amazon Web Services account identifier of the Security Hub administrator account.
public AdminAccount withAccountId(String accountId)
The Amazon Web Services account identifier of the Security Hub administrator account.
accountId
- The Amazon Web Services account identifier of the Security Hub administrator account.public void setStatus(String status)
The current status of the Security Hub administrator account. Indicates whether the account is currently enabled as a Security Hub administrator.
status
- The current status of the Security Hub administrator account. Indicates whether the account is currently
enabled as a Security Hub administrator.AdminStatus
public String getStatus()
The current status of the Security Hub administrator account. Indicates whether the account is currently enabled as a Security Hub administrator.
AdminStatus
public AdminAccount withStatus(String status)
The current status of the Security Hub administrator account. Indicates whether the account is currently enabled as a Security Hub administrator.
status
- The current status of the Security Hub administrator account. Indicates whether the account is currently
enabled as a Security Hub administrator.AdminStatus
public AdminAccount withStatus(AdminStatus status)
The current status of the Security Hub administrator account. Indicates whether the account is currently enabled as a Security Hub administrator.
status
- The current status of the Security Hub administrator account. Indicates whether the account is currently
enabled as a Security Hub 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.