Interface GetAlarmsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetAlarmsRequest.Builder,
,GetAlarmsRequest> LightsailRequest.Builder
,SdkBuilder<GetAlarmsRequest.Builder,
,GetAlarmsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetAlarmsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the alarm.monitoredResourceName
(String monitoredResourceName) The name of the Lightsail resource being monitored by the alarm.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The token to advance to the next page of results from your request.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.lightsail.model.LightsailRequest.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 Details
-
alarmName
The name of the alarm.
Specify an alarm name to return information about a specific alarm.
- Parameters:
alarmName
- The name of the alarm.Specify an alarm name to return information about a specific alarm.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageToken
The token to advance to the next page of results from your request.
To get a page token, perform an initial
GetAlarms
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.- Parameters:
pageToken
- The token to advance to the next page of results from your request.To get a page token, perform an initial
GetAlarms
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoredResourceName
The name of the Lightsail resource being monitored by the alarm.
Specify a monitored resource name to return information about all alarms for a specific resource.
- Parameters:
monitoredResourceName
- The name of the Lightsail resource being monitored by the alarm.Specify a monitored resource name to return information about all alarms for a specific resource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetAlarmsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetAlarmsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-