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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.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
-
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
GetAlarmsrequest. 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
GetAlarmsrequest. 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-