@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListHealthEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListHealthEventsRequest() |
Modifier and Type | Method and Description |
---|---|
ListHealthEventsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndTime()
The time when a health event ended.
|
String |
getEventStatus()
The status of a health event.
|
String |
getLinkedAccountId()
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor.
|
Integer |
getMaxResults()
The number of health event objects that you want to return with this call.
|
String |
getMonitorName()
The name of the monitor.
|
String |
getNextToken()
The token for the next set of results.
|
Date |
getStartTime()
The time when a health event started.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The time when a health event ended.
|
void |
setEventStatus(String eventStatus)
The status of a health event.
|
void |
setLinkedAccountId(String linkedAccountId)
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor.
|
void |
setMaxResults(Integer maxResults)
The number of health event objects that you want to return with this call.
|
void |
setMonitorName(String monitorName)
The name of the monitor.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setStartTime(Date startTime)
The time when a health event started.
|
String |
toString()
Returns a string representation of this object.
|
ListHealthEventsRequest |
withEndTime(Date endTime)
The time when a health event ended.
|
ListHealthEventsRequest |
withEventStatus(HealthEventStatus eventStatus)
The status of a health event.
|
ListHealthEventsRequest |
withEventStatus(String eventStatus)
The status of a health event.
|
ListHealthEventsRequest |
withLinkedAccountId(String linkedAccountId)
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor.
|
ListHealthEventsRequest |
withMaxResults(Integer maxResults)
The number of health event objects that you want to return with this call.
|
ListHealthEventsRequest |
withMonitorName(String monitorName)
The name of the monitor.
|
ListHealthEventsRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
ListHealthEventsRequest |
withStartTime(Date startTime)
The time when a health event started.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMonitorName(String monitorName)
The name of the monitor.
monitorName
- The name of the monitor.public String getMonitorName()
The name of the monitor.
public ListHealthEventsRequest withMonitorName(String monitorName)
The name of the monitor.
monitorName
- The name of the monitor.public void setStartTime(Date startTime)
The time when a health event started.
startTime
- The time when a health event started.public Date getStartTime()
The time when a health event started.
public ListHealthEventsRequest withStartTime(Date startTime)
The time when a health event started.
startTime
- The time when a health event started.public void setEndTime(Date endTime)
The time when a health event ended. If the health event is still ongoing, then the end time is not set.
endTime
- The time when a health event ended. If the health event is still ongoing, then the end time is not set.public Date getEndTime()
The time when a health event ended. If the health event is still ongoing, then the end time is not set.
public ListHealthEventsRequest withEndTime(Date endTime)
The time when a health event ended. If the health event is still ongoing, then the end time is not set.
endTime
- The time when a health event ended. If the health event is still ongoing, then the end time is not set.public void setNextToken(String nextToken)
The token for the next set of results. You receive this token from a previous call.
nextToken
- The token for the next set of results. You receive this token from a previous call.public String getNextToken()
The token for the next set of results. You receive this token from a previous call.
public ListHealthEventsRequest withNextToken(String nextToken)
The token for the next set of results. You receive this token from a previous call.
nextToken
- The token for the next set of results. You receive this token from a previous call.public void setMaxResults(Integer maxResults)
The number of health event objects that you want to return with this call.
maxResults
- The number of health event objects that you want to return with this call.public Integer getMaxResults()
The number of health event objects that you want to return with this call.
public ListHealthEventsRequest withMaxResults(Integer maxResults)
The number of health event objects that you want to return with this call.
maxResults
- The number of health event objects that you want to return with this call.public void setEventStatus(String eventStatus)
The status of a health event.
eventStatus
- The status of a health event.HealthEventStatus
public String getEventStatus()
The status of a health event.
HealthEventStatus
public ListHealthEventsRequest withEventStatus(String eventStatus)
The status of a health event.
eventStatus
- The status of a health event.HealthEventStatus
public ListHealthEventsRequest withEventStatus(HealthEventStatus eventStatus)
The status of a health event.
eventStatus
- The status of a health event.HealthEventStatus
public void setLinkedAccountId(String linkedAccountId)
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.
linkedAccountId
- The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet
Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For
more information, see Internet
Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.public String getLinkedAccountId()
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.
public ListHealthEventsRequest withLinkedAccountId(String linkedAccountId)
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.
linkedAccountId
- The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet
Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For
more information, see Internet
Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.public String toString()
toString
in class Object
Object.toString()
public ListHealthEventsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()