public class DescribeSpotFleetRequestHistoryRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DescribeSpotFleetRequestHistoryRequest>
Contains the parameters for DescribeSpotFleetRequestHistory.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
eventType
The type of events to describe.
|
private java.lang.Integer |
maxResults
The maximum number of results to return in a single call.
|
private java.lang.String |
nextToken
The token for the next set of results.
|
private java.lang.String |
spotFleetRequestId
The ID of the Spot fleet request.
|
private java.util.Date |
startTime
The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
NOOP
Constructor and Description |
---|
DescribeSpotFleetRequestHistoryRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSpotFleetRequestHistoryRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<DescribeSpotFleetRequestHistoryRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getEventType()
The type of events to describe.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
java.lang.String |
getSpotFleetRequestId()
The ID of the Spot fleet request.
|
java.util.Date |
getStartTime()
The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
int |
hashCode() |
void |
setEventType(EventType eventType)
The type of events to describe.
|
void |
setEventType(java.lang.String eventType)
The type of events to describe.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
void |
setSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
|
void |
setStartTime(java.util.Date startTime)
The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSpotFleetRequestHistoryRequest |
withEventType(EventType eventType)
The type of events to describe.
|
DescribeSpotFleetRequestHistoryRequest |
withEventType(java.lang.String eventType)
The type of events to describe.
|
DescribeSpotFleetRequestHistoryRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeSpotFleetRequestHistoryRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
DescribeSpotFleetRequestHistoryRequest |
withSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
|
DescribeSpotFleetRequestHistoryRequest |
withStartTime(java.util.Date startTime)
The starting date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
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 spotFleetRequestId
The ID of the Spot fleet request.
private java.lang.String eventType
The type of events to describe. By default, all events are described.
private java.util.Date startTime
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
private java.lang.String nextToken
The token for the next set of results.
private java.lang.Integer maxResults
The maximum number of results to return in a single call. Specify a value
between 1 and 1000. The default value is 1000. To retrieve the remaining
results, make another call with the returned NextToken
value.
public DescribeSpotFleetRequestHistoryRequest()
public void setSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
spotFleetRequestId
- The ID of the Spot fleet request.public java.lang.String getSpotFleetRequestId()
The ID of the Spot fleet request.
public DescribeSpotFleetRequestHistoryRequest withSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
spotFleetRequestId
- The ID of the Spot fleet request.public void setEventType(java.lang.String eventType)
The type of events to describe. By default, all events are described.
eventType
- The type of events to describe. By default, all events are
described.EventType
public java.lang.String getEventType()
The type of events to describe. By default, all events are described.
EventType
public DescribeSpotFleetRequestHistoryRequest withEventType(java.lang.String eventType)
The type of events to describe. By default, all events are described.
eventType
- The type of events to describe. By default, all events are
described.EventType
public void setEventType(EventType eventType)
The type of events to describe. By default, all events are described.
eventType
- The type of events to describe. By default, all events are
described.EventType
public DescribeSpotFleetRequestHistoryRequest withEventType(EventType eventType)
The type of events to describe. By default, all events are described.
eventType
- The type of events to describe. By default, all events are
described.EventType
public void setStartTime(java.util.Date startTime)
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
startTime
- The starting date and time for the events, in UTC format (for
example,
YYYY-MM-DDTHH:MM:SSZ).public java.util.Date getStartTime()
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public DescribeSpotFleetRequestHistoryRequest withStartTime(java.util.Date startTime)
The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
startTime
- The starting date and time for the events, in UTC format (for
example,
YYYY-MM-DDTHH:MM:SSZ).public void setNextToken(java.lang.String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public java.lang.String getNextToken()
The token for the next set of results.
public DescribeSpotFleetRequestHistoryRequest withNextToken(java.lang.String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in a single call. Specify a value
between 1 and 1000. The default value is 1000. To retrieve the remaining
results, make another call with the returned NextToken
value.
maxResults
- The maximum number of results to return in a single call. Specify
a value between 1 and 1000. The default value is 1000. To retrieve
the remaining results, make another call with the returned
NextToken
value.public java.lang.Integer getMaxResults()
The maximum number of results to return in a single call. Specify a value
between 1 and 1000. The default value is 1000. To retrieve the remaining
results, make another call with the returned NextToken
value.
NextToken
value.public DescribeSpotFleetRequestHistoryRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in a single call. Specify a value
between 1 and 1000. The default value is 1000. To retrieve the remaining
results, make another call with the returned NextToken
value.
maxResults
- The maximum number of results to return in a single call. Specify
a value between 1 and 1000. The default value is 1000. To retrieve
the remaining results, make another call with the returned
NextToken
value.public Request<DescribeSpotFleetRequestHistoryRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeSpotFleetRequestHistoryRequest>
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 DescribeSpotFleetRequestHistoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()