Interface SetAlarmStateRequest.Builder

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

public static interface SetAlarmStateRequest.Builder extends CloudWatchRequest.Builder, SdkPojo, CopyableBuilder<SetAlarmStateRequest.Builder,SetAlarmStateRequest>
  • Method Details

    • alarmName

      SetAlarmStateRequest.Builder alarmName(String alarmName)

      The name of the alarm.

      Parameters:
      alarmName - The name of the alarm.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateValue

      SetAlarmStateRequest.Builder stateValue(String stateValue)

      The value of the state.

      Parameters:
      stateValue - The value of the state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateValue

      SetAlarmStateRequest.Builder stateValue(StateValue stateValue)

      The value of the state.

      Parameters:
      stateValue - The value of the state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateReason

      SetAlarmStateRequest.Builder stateReason(String stateReason)

      The reason that this alarm is set to this specific state, in text format.

      Parameters:
      stateReason - The reason that this alarm is set to this specific state, in text format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateReasonData

      SetAlarmStateRequest.Builder stateReasonData(String stateReasonData)

      The reason that this alarm is set to this specific state, in JSON format.

      For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

      Parameters:
      stateReasonData - The reason that this alarm is set to this specific state, in JSON format.

      For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      SetAlarmStateRequest.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.