Interface ListHealthEventsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListHealthEventsRequest.Builder,,ListHealthEventsRequest> InternetMonitorRequest.Builder,SdkBuilder<ListHealthEventsRequest.Builder,,ListHealthEventsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListHealthEventsRequest
public static interface ListHealthEventsRequest.Builder
extends InternetMonitorRequest.Builder, SdkPojo, CopyableBuilder<ListHealthEventsRequest.Builder,ListHealthEventsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe time when a health event ended.eventStatus(String eventStatus) The status of a health event.eventStatus(HealthEventStatus eventStatus) The status of a health event.maxResults(Integer maxResults) The number of health event objects that you want to return with this call.monitorName(String monitorName) The name of the monitor.The token for the next set of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The time when a health event started.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.internetmonitor.model.InternetMonitorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
monitorName
The name of the monitor.
- Parameters:
monitorName- The name of the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The time when a health event started.
- Parameters:
startTime- The time when a health event started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time when a health event ended. If the health event is still ongoing, then the end time is not set.
- Parameters:
endTime- The time when a health event ended. If the health event is still ongoing, then the end time is not set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results. You receive this token from a previous call.
- Parameters:
nextToken- The token for the next set of results. You receive this token from a previous call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The number of health event objects that you want to return with this call.
- Parameters:
maxResults- The number of health event objects that you want to return with this call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventStatus
The status of a health event.
- Parameters:
eventStatus- The status of a health event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventStatus
The status of a health event.
- Parameters:
eventStatus- The status of a health event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListHealthEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListHealthEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-