public static interface GetAlarmsRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<GetAlarmsRequest.Builder,GetAlarmsRequest>
Modifier and Type | Method and Description |
---|---|
GetAlarmsRequest.Builder |
alarmName(String alarmName)
The name of the alarm.
|
GetAlarmsRequest.Builder |
monitoredResourceName(String monitoredResourceName)
The name of the Lightsail resource being monitored by the alarm.
|
GetAlarmsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetAlarmsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
GetAlarmsRequest.Builder |
pageToken(String pageToken)
The token to advance to the next page of results from your request.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetAlarmsRequest.Builder alarmName(String alarmName)
The name of the alarm.
Specify an alarm name to return information about a specific alarm.
alarmName
- The name of the alarm.
Specify an alarm name to return information about a specific alarm.
GetAlarmsRequest.Builder pageToken(String 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.
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.
GetAlarmsRequest.Builder monitoredResourceName(String 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.
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.
GetAlarmsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetAlarmsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.