Class ListHealthEventsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.internetmonitor.model.InternetMonitorRequest
-
- software.amazon.awssdk.services.internetmonitor.model.ListHealthEventsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListHealthEventsRequest.Builder,ListHealthEventsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListHealthEventsRequest extends InternetMonitorRequest implements ToCopyableBuilder<ListHealthEventsRequest.Builder,ListHealthEventsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListHealthEventsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListHealthEventsRequest.Builderbuilder()InstantendTime()The time when a health event ended.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)HealthEventStatuseventStatus()The status of a health event.StringeventStatusAsString()The status of a health event.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The number of health event objects that you want to return with this call.StringmonitorName()The name of the monitor.StringnextToken()The token for the next set of results.List<SdkField<?>>sdkFields()static Class<? extends ListHealthEventsRequest.Builder>serializableBuilderClass()InstantstartTime()The time when a health event started.ListHealthEventsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
monitorName
public final String monitorName()
The name of the monitor.
- Returns:
- The name of the monitor.
-
startTime
public final Instant startTime()
The time when a health event started.
- Returns:
- The time when a health event started.
-
endTime
public final Instant endTime()
The time when a health event ended. If the health event is still ongoing, then the end time is not set.
- Returns:
- The time when a health event ended. If the health event is still ongoing, then the end time is not set.
-
nextToken
public final String nextToken()
The token for the next set of results. You receive this token from a previous call.
- Returns:
- The token for the next set of results. You receive this token from a previous call.
-
maxResults
public final Integer maxResults()
The number of health event objects that you want to return with this call.
- Returns:
- The number of health event objects that you want to return with this call.
-
eventStatus
public final HealthEventStatus eventStatus()
The status of a health event.
If the service returns an enum value that is not available in the current SDK version,
eventStatuswill returnHealthEventStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventStatusAsString().- Returns:
- The status of a health event.
- See Also:
HealthEventStatus
-
eventStatusAsString
public final String eventStatusAsString()
The status of a health event.
If the service returns an enum value that is not available in the current SDK version,
eventStatuswill returnHealthEventStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventStatusAsString().- Returns:
- The status of a health event.
- See Also:
HealthEventStatus
-
toBuilder
public ListHealthEventsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListHealthEventsRequest.Builder,ListHealthEventsRequest>- Specified by:
toBuilderin classInternetMonitorRequest
-
builder
public static ListHealthEventsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListHealthEventsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-