Interface DescribeAlarmHistoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchRequest.Builder,CopyableBuilder<DescribeAlarmHistoryRequest.Builder,,DescribeAlarmHistoryRequest> SdkBuilder<DescribeAlarmHistoryRequest.Builder,,DescribeAlarmHistoryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeAlarmHistoryRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the alarm.alarmTypes(Collection<AlarmType> alarmTypes) Use this parameter to specify whether you want the operation to return metric alarms or composite alarms.alarmTypes(AlarmType... alarmTypes) Use this parameter to specify whether you want the operation to return metric alarms or composite alarms.alarmTypesWithStrings(String... alarmTypes) Use this parameter to specify whether you want the operation to return metric alarms or composite alarms.alarmTypesWithStrings(Collection<String> alarmTypes) Use this parameter to specify whether you want the operation to return metric alarms or composite alarms.The ending date to retrieve alarm history.historyItemType(String historyItemType) The type of alarm histories to retrieve.historyItemType(HistoryItemType historyItemType) The type of alarm histories to retrieve.maxRecords(Integer maxRecords) The maximum number of alarm history records to retrieve.The token returned by a previous call to indicate that there is more data available.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specified whether to return the newest or oldest alarm history first.Specified whether to return the newest or oldest alarm history first.The starting date to retrieve alarm history.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
alarmTypesWithStrings
Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned.
- Parameters:
alarmTypes- Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmTypesWithStrings
Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned.
- Parameters:
alarmTypes- Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmTypes
Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned.
- Parameters:
alarmTypes- Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmTypes
Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned.
- Parameters:
alarmTypes- Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historyItemType
The type of alarm histories to retrieve.
- Parameters:
historyItemType- The type of alarm histories to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
historyItemType
The type of alarm histories to retrieve.
- Parameters:
historyItemType- The type of alarm histories to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startDate
The starting date to retrieve alarm history.
- Parameters:
startDate- The starting date to retrieve alarm history.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endDate
The ending date to retrieve alarm history.
- Parameters:
endDate- The ending date to retrieve alarm history.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxRecords
The maximum number of alarm history records to retrieve.
- Parameters:
maxRecords- The maximum number of alarm history records to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token returned by a previous call to indicate that there is more data available.
- Parameters:
nextToken- The token returned by a previous call to indicate that there is more data available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanBy
Specified whether to return the newest or oldest alarm history first. Specify
TimestampDescendingto have the newest event history returned first, and specifyTimestampAscendingto have the oldest history returned first.- Parameters:
scanBy- Specified whether to return the newest or oldest alarm history first. SpecifyTimestampDescendingto have the newest event history returned first, and specifyTimestampAscendingto have the oldest history returned first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanBy
Specified whether to return the newest or oldest alarm history first. Specify
TimestampDescendingto have the newest event history returned first, and specifyTimestampAscendingto have the oldest history returned first.- Parameters:
scanBy- Specified whether to return the newest or oldest alarm history first. SpecifyTimestampDescendingto have the newest event history returned first, and specifyTimestampAscendingto have the oldest history returned first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DescribeAlarmHistoryRequest.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
DescribeAlarmHistoryRequest.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.
-