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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListHealthEventsRequest.BuilderendTime(Instant endTime)The time when a health event ended.ListHealthEventsRequest.BuildereventStatus(String eventStatus)The status of a health event.ListHealthEventsRequest.BuildereventStatus(HealthEventStatus eventStatus)The status of a health event.ListHealthEventsRequest.BuilderlinkedAccountId(String linkedAccountId)The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor.ListHealthEventsRequest.BuildermaxResults(Integer maxResults)The number of health event objects that you want to return with this call.ListHealthEventsRequest.BuildermonitorName(String monitorName)The name of the monitor.ListHealthEventsRequest.BuildernextToken(String nextToken)The token for the next set of results.ListHealthEventsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListHealthEventsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListHealthEventsRequest.BuilderstartTime(Instant startTime)The time when a health event started.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.internetmonitor.model.InternetMonitorRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
monitorName
ListHealthEventsRequest.Builder monitorName(String 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
ListHealthEventsRequest.Builder startTime(Instant 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
ListHealthEventsRequest.Builder endTime(Instant 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
ListHealthEventsRequest.Builder nextToken(String 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
ListHealthEventsRequest.Builder maxResults(Integer 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
ListHealthEventsRequest.Builder eventStatus(String 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:
HealthEventStatus,HealthEventStatus
-
eventStatus
ListHealthEventsRequest.Builder eventStatus(HealthEventStatus 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:
HealthEventStatus,HealthEventStatus
-
linkedAccountId
ListHealthEventsRequest.Builder linkedAccountId(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListHealthEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListHealthEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-