@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountHealth extends Object implements Serializable, Cloneable, StructuredPojo
Returns the number of open reactive insights, the number of open proactive insights, and the number of metrics analyzed in your Amazon Web Services account. Use these numbers to gauge the health of operations in your Amazon Web Services account.
Constructor and Description |
---|
AccountHealth() |
Modifier and Type | Method and Description |
---|---|
AccountHealth |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of the Amazon Web Services account.
|
AccountInsightHealth |
getInsight()
Information about the health of the Amazon Web Services resources in your account, including the number of open
proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The ID of the Amazon Web Services account.
|
void |
setInsight(AccountInsightHealth insight)
Information about the health of the Amazon Web Services resources in your account, including the number of open
proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.
|
String |
toString()
Returns a string representation of this object.
|
AccountHealth |
withAccountId(String accountId)
The ID of the Amazon Web Services account.
|
AccountHealth |
withInsight(AccountInsightHealth insight)
Information about the health of the Amazon Web Services resources in your account, including the number of open
proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.
|
public void setAccountId(String accountId)
The ID of the Amazon Web Services account.
accountId
- The ID of the Amazon Web Services account.public String getAccountId()
The ID of the Amazon Web Services account.
public AccountHealth withAccountId(String accountId)
The ID of the Amazon Web Services account.
accountId
- The ID of the Amazon Web Services account.public void setInsight(AccountInsightHealth insight)
Information about the health of the Amazon Web Services resources in your account, including the number of open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.
insight
- Information about the health of the Amazon Web Services resources in your account, including the number of
open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.public AccountInsightHealth getInsight()
Information about the health of the Amazon Web Services resources in your account, including the number of open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.
public AccountHealth withInsight(AccountInsightHealth insight)
Information about the health of the Amazon Web Services resources in your account, including the number of open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.
insight
- Information about the health of the Amazon Web Services resources in your account, including the number of
open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.public String toString()
toString
in class Object
Object.toString()
public AccountHealth clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.