Interface ListMonitorsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListMonitorsRequest.Builder,,ListMonitorsRequest> InternetMonitorRequest.Builder,SdkBuilder<ListMonitorsRequest.Builder,,ListMonitorsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListMonitorsRequest
-
Method Summary
Modifier and TypeMethodDescriptionincludeLinkedAccounts(Boolean includeLinkedAccounts) A boolean option that you can set toTRUEto include monitors for linked accounts in a list of monitors, when you've set up cross-account sharing in Amazon CloudWatch Internet Monitor.maxResults(Integer maxResults) The number of monitor objects that you want to return with this call.monitorStatus(String monitorStatus) The status of a 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.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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 monitor objects that you want to return with this call.
- Parameters:
maxResults- The number of monitor objects that you want to return with this call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitorStatus
The status of a monitor. This includes the status of the data processing for the monitor and the status of the monitor itself.
For information about the statuses for a monitor, see Monitor.
- Parameters:
monitorStatus- The status of a monitor. This includes the status of the data processing for the monitor and the status of the monitor itself.For information about the statuses for a monitor, see Monitor.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeLinkedAccounts
A boolean option that you can set to
TRUEto include monitors for linked accounts in a list of monitors, when you've set up cross-account sharing 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:
includeLinkedAccounts- A boolean option that you can set toTRUEto include monitors for linked accounts in a list of monitors, when you've set up cross-account sharing 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
ListMonitorsRequest.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
ListMonitorsRequest.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.
-