@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAlarmHistoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeAlarmHistoryRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAlarmHistoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAlarmName()
The name of the alarm.
|
Date |
getEndDate()
The ending date to retrieve alarm history.
|
String |
getHistoryItemType()
The type of alarm histories to retrieve.
|
Integer |
getMaxRecords()
The maximum number of alarm history records to retrieve.
|
String |
getNextToken()
The token returned by a previous call to indicate that there is more data available.
|
Date |
getStartDate()
The starting date to retrieve alarm history.
|
int |
hashCode() |
void |
setAlarmName(String alarmName)
The name of the alarm.
|
void |
setEndDate(Date endDate)
The ending date to retrieve alarm history.
|
void |
setHistoryItemType(HistoryItemType historyItemType)
The type of alarm histories to retrieve.
|
void |
setHistoryItemType(String historyItemType)
The type of alarm histories to retrieve.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of alarm history records to retrieve.
|
void |
setNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
|
void |
setStartDate(Date startDate)
The starting date to retrieve alarm history.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeAlarmHistoryRequest |
withAlarmName(String alarmName)
The name of the alarm.
|
DescribeAlarmHistoryRequest |
withEndDate(Date endDate)
The ending date to retrieve alarm history.
|
DescribeAlarmHistoryRequest |
withHistoryItemType(HistoryItemType historyItemType)
The type of alarm histories to retrieve.
|
DescribeAlarmHistoryRequest |
withHistoryItemType(String historyItemType)
The type of alarm histories to retrieve.
|
DescribeAlarmHistoryRequest |
withMaxRecords(Integer maxRecords)
The maximum number of alarm history records to retrieve.
|
DescribeAlarmHistoryRequest |
withNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
|
DescribeAlarmHistoryRequest |
withStartDate(Date startDate)
The starting date to retrieve alarm history.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAlarmName(String alarmName)
The name of the alarm.
alarmName
- The name of the alarm.public String getAlarmName()
The name of the alarm.
public DescribeAlarmHistoryRequest withAlarmName(String alarmName)
The name of the alarm.
alarmName
- The name of the alarm.public void setHistoryItemType(String historyItemType)
The type of alarm histories to retrieve.
historyItemType
- The type of alarm histories to retrieve.HistoryItemType
public String getHistoryItemType()
The type of alarm histories to retrieve.
HistoryItemType
public DescribeAlarmHistoryRequest withHistoryItemType(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(Date startDate)
The starting date to retrieve alarm history.
startDate
- The starting date to retrieve alarm history.public Date getStartDate()
The starting date to retrieve alarm history.
public DescribeAlarmHistoryRequest withStartDate(Date startDate)
The starting date to retrieve alarm history.
startDate
- The starting date to retrieve alarm history.public void setEndDate(Date endDate)
The ending date to retrieve alarm history.
endDate
- The ending date to retrieve alarm history.public Date getEndDate()
The ending date to retrieve alarm history.
public DescribeAlarmHistoryRequest withEndDate(Date endDate)
The ending date to retrieve alarm history.
endDate
- The ending date to retrieve alarm history.public void setMaxRecords(Integer maxRecords)
The maximum number of alarm history records to retrieve.
maxRecords
- The maximum number of alarm history records to retrieve.public Integer getMaxRecords()
The maximum number of alarm history records to retrieve.
public DescribeAlarmHistoryRequest withMaxRecords(Integer maxRecords)
The maximum number of alarm history records to retrieve.
maxRecords
- The maximum number of alarm history records to retrieve.public void setNextToken(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 String getNextToken()
The token returned by a previous call to indicate that there is more data available.
public DescribeAlarmHistoryRequest withNextToken(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 String toString()
toString
in class Object
Object.toString()
public DescribeAlarmHistoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.