Interface GetAlarmsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<GetAlarmsRequest.Builder,GetAlarmsRequest>, LightsailRequest.Builder, SdkBuilder<GetAlarmsRequest.Builder,GetAlarmsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetAlarmsRequest

public static interface GetAlarmsRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<GetAlarmsRequest.Builder,GetAlarmsRequest>
  • Method Details

    • alarmName

      GetAlarmsRequest.Builder alarmName(String 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

      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.

      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

      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.

      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.