@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFleetHistoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeFleetHistoryRequest>
NOOP
Constructor and Description |
---|
DescribeFleetHistoryRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeFleetHistoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeFleetHistoryRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getEventType()
The type of events to describe.
|
String |
getFleetId()
The ID of the EC2 Fleet.
|
Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
String |
getNextToken()
The token for the next set of results.
|
Date |
getStartTime()
The start date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
int |
hashCode() |
void |
setEventType(String eventType)
The type of events to describe.
|
void |
setFleetId(String fleetId)
The ID of the EC2 Fleet.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setStartTime(Date startTime)
The start date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
String |
toString()
Returns a string representation of this object.
|
DescribeFleetHistoryRequest |
withEventType(FleetEventType eventType)
The type of events to describe.
|
DescribeFleetHistoryRequest |
withEventType(String eventType)
The type of events to describe.
|
DescribeFleetHistoryRequest |
withFleetId(String fleetId)
The ID of the EC2 Fleet.
|
DescribeFleetHistoryRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeFleetHistoryRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
DescribeFleetHistoryRequest |
withStartTime(Date startTime)
The start date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
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 setEventType(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.FleetEventType
public String getEventType()
The type of events to describe. By default, all events are described.
FleetEventType
public DescribeFleetHistoryRequest withEventType(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.FleetEventType
public DescribeFleetHistoryRequest withEventType(FleetEventType 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.FleetEventType
public void setMaxResults(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 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 DescribeFleetHistoryRequest withMaxResults(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 void setNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public String getNextToken()
The token for the next set of results.
public DescribeFleetHistoryRequest withNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public void setFleetId(String fleetId)
The ID of the EC2 Fleet.
fleetId
- The ID of the EC2 Fleet.public String getFleetId()
The ID of the EC2 Fleet.
public DescribeFleetHistoryRequest withFleetId(String fleetId)
The ID of the EC2 Fleet.
fleetId
- The ID of the EC2 Fleet.public void setStartTime(Date startTime)
The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
startTime
- The start date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).public Date getStartTime()
The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public DescribeFleetHistoryRequest withStartTime(Date startTime)
The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
startTime
- The start date and time for the events, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).public Request<DescribeFleetHistoryRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeFleetHistoryRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeFleetHistoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()