Class DescribeAlarmHistoryRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudwatch.model.DescribeAlarmHistoryRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeAlarmHistoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeAlarmHistoryRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeAlarmHistoryRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAlarmName()The name of the alarm.DategetEndDate()The ending date to retrieve alarm history.StringgetHistoryItemType()The type of alarm histories to retrieve.IntegergetMaxRecords()The maximum number of alarm history records to retrieve.StringgetNextToken()The token returned by a previous call to indicate that there is more data available.DategetStartDate()The starting date to retrieve alarm history.inthashCode()voidsetAlarmName(String alarmName)The name of the alarm.voidsetEndDate(Date endDate)The ending date to retrieve alarm history.voidsetHistoryItemType(HistoryItemType historyItemType)The type of alarm histories to retrieve.voidsetHistoryItemType(String historyItemType)The type of alarm histories to retrieve.voidsetMaxRecords(Integer maxRecords)The maximum number of alarm history records to retrieve.voidsetNextToken(String nextToken)The token returned by a previous call to indicate that there is more data available.voidsetStartDate(Date startDate)The starting date to retrieve alarm history.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeAlarmHistoryRequestwithAlarmName(String alarmName)The name of the alarm.DescribeAlarmHistoryRequestwithEndDate(Date endDate)The ending date to retrieve alarm history.DescribeAlarmHistoryRequestwithHistoryItemType(HistoryItemType historyItemType)The type of alarm histories to retrieve.DescribeAlarmHistoryRequestwithHistoryItemType(String historyItemType)The type of alarm histories to retrieve.DescribeAlarmHistoryRequestwithMaxRecords(Integer maxRecords)The maximum number of alarm history records to retrieve.DescribeAlarmHistoryRequestwithNextToken(String nextToken)The token returned by a previous call to indicate that there is more data available.DescribeAlarmHistoryRequestwithStartDate(Date startDate)The starting date to retrieve alarm history.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setAlarmName
public void setAlarmName(String alarmName)
The name of the alarm.
- Parameters:
alarmName- The name of the alarm.
-
getAlarmName
public String getAlarmName()
The name of the alarm.
- Returns:
- The name of the alarm.
-
withAlarmName
public DescribeAlarmHistoryRequest withAlarmName(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.
-
setHistoryItemType
public void setHistoryItemType(String historyItemType)
The type of alarm histories to retrieve.
- Parameters:
historyItemType- The type of alarm histories to retrieve.- See Also:
HistoryItemType
-
getHistoryItemType
public String getHistoryItemType()
The type of alarm histories to retrieve.
- Returns:
- The type of alarm histories to retrieve.
- See Also:
HistoryItemType
-
withHistoryItemType
public DescribeAlarmHistoryRequest withHistoryItemType(String 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
-
setHistoryItemType
public void setHistoryItemType(HistoryItemType historyItemType)
The type of alarm histories to retrieve.
- Parameters:
historyItemType- The type of alarm histories to retrieve.- See Also:
HistoryItemType
-
withHistoryItemType
public DescribeAlarmHistoryRequest withHistoryItemType(HistoryItemType 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
-
setStartDate
public void setStartDate(Date startDate)
The starting date to retrieve alarm history.
- Parameters:
startDate- The starting date to retrieve alarm history.
-
getStartDate
public Date getStartDate()
The starting date to retrieve alarm history.
- Returns:
- The starting date to retrieve alarm history.
-
withStartDate
public DescribeAlarmHistoryRequest withStartDate(Date 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.
-
setEndDate
public void setEndDate(Date endDate)
The ending date to retrieve alarm history.
- Parameters:
endDate- The ending date to retrieve alarm history.
-
getEndDate
public Date getEndDate()
The ending date to retrieve alarm history.
- Returns:
- The ending date to retrieve alarm history.
-
withEndDate
public DescribeAlarmHistoryRequest withEndDate(Date 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.
-
setMaxRecords
public void setMaxRecords(Integer maxRecords)
The maximum number of alarm history records to retrieve.
- Parameters:
maxRecords- The maximum number of alarm history records to retrieve.
-
getMaxRecords
public Integer getMaxRecords()
The maximum number of alarm history records to retrieve.
- Returns:
- The maximum number of alarm history records to retrieve.
-
withMaxRecords
public DescribeAlarmHistoryRequest withMaxRecords(Integer 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.
-
setNextToken
public void setNextToken(String 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.
-
getNextToken
public String getNextToken()
The token returned by a previous call to indicate that there is more data available.
- Returns:
- The token returned by a previous call to indicate that there is more data available.
-
withNextToken
public DescribeAlarmHistoryRequest withNextToken(String 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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeAlarmHistoryRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-