public class DescribeAlarmHistoryRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
alarmName
The name of the alarm.
|
private java.util.Date |
endDate
The ending date to retrieve alarm history.
|
private java.lang.String |
historyItemType
The type of alarm histories to retrieve.
|
private java.lang.Integer |
maxRecords
The maximum number of alarm history records to retrieve.
|
private java.lang.String |
nextToken
The token returned by a previous call to indicate that there is more data
available.
|
private java.util.Date |
startDate
The starting date to retrieve alarm history.
|
NOOP
Constructor and Description |
---|
DescribeAlarmHistoryRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAlarmHistoryRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAlarmName()
The name of the alarm.
|
java.util.Date |
getEndDate()
The ending date to retrieve alarm history.
|
java.lang.String |
getHistoryItemType()
The type of alarm histories to retrieve.
|
java.lang.Integer |
getMaxRecords()
The maximum number of alarm history records to retrieve.
|
java.lang.String |
getNextToken()
The token returned by a previous call to indicate that there is more data
available.
|
java.util.Date |
getStartDate()
The starting date to retrieve alarm history.
|
int |
hashCode() |
void |
setAlarmName(java.lang.String alarmName)
The name of the alarm.
|
void |
setEndDate(java.util.Date endDate)
The ending date to retrieve alarm history.
|
void |
setHistoryItemType(HistoryItemType historyItemType)
The type of alarm histories to retrieve.
|
void |
setHistoryItemType(java.lang.String historyItemType)
The type of alarm histories to retrieve.
|
void |
setMaxRecords(java.lang.Integer maxRecords)
The maximum number of alarm history records to retrieve.
|
void |
setNextToken(java.lang.String nextToken)
The token returned by a previous call to indicate that there is more data
available.
|
void |
setStartDate(java.util.Date startDate)
The starting date to retrieve alarm history.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAlarmHistoryRequest |
withAlarmName(java.lang.String alarmName)
The name of the alarm.
|
DescribeAlarmHistoryRequest |
withEndDate(java.util.Date endDate)
The ending date to retrieve alarm history.
|
DescribeAlarmHistoryRequest |
withHistoryItemType(HistoryItemType historyItemType)
The type of alarm histories to retrieve.
|
DescribeAlarmHistoryRequest |
withHistoryItemType(java.lang.String historyItemType)
The type of alarm histories to retrieve.
|
DescribeAlarmHistoryRequest |
withMaxRecords(java.lang.Integer maxRecords)
The maximum number of alarm history records to retrieve.
|
DescribeAlarmHistoryRequest |
withNextToken(java.lang.String nextToken)
The token returned by a previous call to indicate that there is more data
available.
|
DescribeAlarmHistoryRequest |
withStartDate(java.util.Date startDate)
The starting date to retrieve alarm history.
|
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
private java.lang.String alarmName
The name of the alarm.
private java.lang.String historyItemType
The type of alarm histories to retrieve.
private java.util.Date startDate
The starting date to retrieve alarm history.
private java.util.Date endDate
The ending date to retrieve alarm history.
private java.lang.Integer maxRecords
The maximum number of alarm history records to retrieve.
private java.lang.String nextToken
The token returned by a previous call to indicate that there is more data available.
public void setAlarmName(java.lang.String alarmName)
The name of the alarm.
alarmName
- The name of the alarm.public java.lang.String getAlarmName()
The name of the alarm.
public DescribeAlarmHistoryRequest withAlarmName(java.lang.String alarmName)
The name of the alarm.
alarmName
- The name of the alarm.public void setHistoryItemType(java.lang.String historyItemType)
The type of alarm histories to retrieve.
historyItemType
- The type of alarm histories to retrieve.HistoryItemType
public java.lang.String getHistoryItemType()
The type of alarm histories to retrieve.
HistoryItemType
public DescribeAlarmHistoryRequest withHistoryItemType(java.lang.String historyItemType)
The type of alarm histories to retrieve.
historyItemType
- The type of alarm histories to retrieve.HistoryItemType
public void setHistoryItemType(HistoryItemType historyItemType)
The type of alarm histories to retrieve.
historyItemType
- The type of alarm histories to retrieve.HistoryItemType
public DescribeAlarmHistoryRequest withHistoryItemType(HistoryItemType historyItemType)
The type of alarm histories to retrieve.
historyItemType
- The type of alarm histories to retrieve.HistoryItemType
public void setStartDate(java.util.Date startDate)
The starting date to retrieve alarm history.
startDate
- The starting date to retrieve alarm history.public java.util.Date getStartDate()
The starting date to retrieve alarm history.
public DescribeAlarmHistoryRequest withStartDate(java.util.Date startDate)
The starting date to retrieve alarm history.
startDate
- The starting date to retrieve alarm history.public void setEndDate(java.util.Date endDate)
The ending date to retrieve alarm history.
endDate
- The ending date to retrieve alarm history.public java.util.Date getEndDate()
The ending date to retrieve alarm history.
public DescribeAlarmHistoryRequest withEndDate(java.util.Date endDate)
The ending date to retrieve alarm history.
endDate
- The ending date to retrieve alarm history.public void setMaxRecords(java.lang.Integer maxRecords)
The maximum number of alarm history records to retrieve.
maxRecords
- The maximum number of alarm history records to retrieve.public java.lang.Integer getMaxRecords()
The maximum number of alarm history records to retrieve.
public DescribeAlarmHistoryRequest withMaxRecords(java.lang.Integer maxRecords)
The maximum number of alarm history records to retrieve.
maxRecords
- The maximum number of alarm history records to retrieve.public void setNextToken(java.lang.String nextToken)
The token returned by a previous call to indicate that there is more data available.
nextToken
- The token returned by a previous call to indicate that there is
more data available.public java.lang.String getNextToken()
The token returned by a previous call to indicate that there is more data available.
public DescribeAlarmHistoryRequest withNextToken(java.lang.String nextToken)
The token returned by a previous call to indicate that there is more data available.
nextToken
- The token returned by a previous call to indicate that there is
more data available.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeAlarmHistoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()