public class TrustedAdvisorCheckRefreshStatus
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The refresh status of a Trusted Advisor check.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
checkId
The unique identifier for the Trusted Advisor check.
|
private java.lang.Long |
millisUntilNextRefreshable
The amount of time, in milliseconds, until the Trusted Advisor check is
eligible for refresh.
|
private java.lang.String |
status
The status of the Trusted Advisor check for which a refresh has been
requested: "none", "enqueued", "processing", "success", or "abandoned".
|
Constructor and Description |
---|
TrustedAdvisorCheckRefreshStatus() |
Modifier and Type | Method and Description |
---|---|
TrustedAdvisorCheckRefreshStatus |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCheckId()
The unique identifier for the Trusted Advisor check.
|
java.lang.Long |
getMillisUntilNextRefreshable()
The amount of time, in milliseconds, until the Trusted Advisor check is
eligible for refresh.
|
java.lang.String |
getStatus()
The status of the Trusted Advisor check for which a refresh has been
requested: "none", "enqueued", "processing", "success", or "abandoned".
|
int |
hashCode() |
void |
setCheckId(java.lang.String checkId)
The unique identifier for the Trusted Advisor check.
|
void |
setMillisUntilNextRefreshable(java.lang.Long millisUntilNextRefreshable)
The amount of time, in milliseconds, until the Trusted Advisor check is
eligible for refresh.
|
void |
setStatus(java.lang.String status)
The status of the Trusted Advisor check for which a refresh has been
requested: "none", "enqueued", "processing", "success", or "abandoned".
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TrustedAdvisorCheckRefreshStatus |
withCheckId(java.lang.String checkId)
The unique identifier for the Trusted Advisor check.
|
TrustedAdvisorCheckRefreshStatus |
withMillisUntilNextRefreshable(java.lang.Long millisUntilNextRefreshable)
The amount of time, in milliseconds, until the Trusted Advisor check is
eligible for refresh.
|
TrustedAdvisorCheckRefreshStatus |
withStatus(java.lang.String status)
The status of the Trusted Advisor check for which a refresh has been
requested: "none", "enqueued", "processing", "success", or "abandoned".
|
private java.lang.String checkId
The unique identifier for the Trusted Advisor check.
private java.lang.String status
The status of the Trusted Advisor check for which a refresh has been requested: "none", "enqueued", "processing", "success", or "abandoned".
private java.lang.Long millisUntilNextRefreshable
The amount of time, in milliseconds, until the Trusted Advisor check is eligible for refresh.
public void setCheckId(java.lang.String checkId)
The unique identifier for the Trusted Advisor check.
checkId
- The unique identifier for the Trusted Advisor check.public java.lang.String getCheckId()
The unique identifier for the Trusted Advisor check.
public TrustedAdvisorCheckRefreshStatus withCheckId(java.lang.String checkId)
The unique identifier for the Trusted Advisor check.
checkId
- The unique identifier for the Trusted Advisor check.public void setStatus(java.lang.String status)
The status of the Trusted Advisor check for which a refresh has been requested: "none", "enqueued", "processing", "success", or "abandoned".
status
- The status of the Trusted Advisor check for which a refresh has
been requested: "none", "enqueued", "processing", "success", or
"abandoned".public java.lang.String getStatus()
The status of the Trusted Advisor check for which a refresh has been requested: "none", "enqueued", "processing", "success", or "abandoned".
public TrustedAdvisorCheckRefreshStatus withStatus(java.lang.String status)
The status of the Trusted Advisor check for which a refresh has been requested: "none", "enqueued", "processing", "success", or "abandoned".
status
- The status of the Trusted Advisor check for which a refresh has
been requested: "none", "enqueued", "processing", "success", or
"abandoned".public void setMillisUntilNextRefreshable(java.lang.Long millisUntilNextRefreshable)
The amount of time, in milliseconds, until the Trusted Advisor check is eligible for refresh.
millisUntilNextRefreshable
- The amount of time, in milliseconds, until the Trusted Advisor
check is eligible for refresh.public java.lang.Long getMillisUntilNextRefreshable()
The amount of time, in milliseconds, until the Trusted Advisor check is eligible for refresh.
public TrustedAdvisorCheckRefreshStatus withMillisUntilNextRefreshable(java.lang.Long millisUntilNextRefreshable)
The amount of time, in milliseconds, until the Trusted Advisor check is eligible for refresh.
millisUntilNextRefreshable
- The amount of time, in milliseconds, until the Trusted Advisor
check is eligible for refresh.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TrustedAdvisorCheckRefreshStatus clone()
clone
in class java.lang.Object