@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 items to return for this request.
|
String |
getNextToken()
The token returned from a previous paginated request.
|
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 items to return for this request.
|
void |
setNextToken(String nextToken)
The token returned from a previous paginated request.
|
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 items to return for this request.
|
DescribeFleetHistoryRequest |
withNextToken(String nextToken)
The token returned from a previous paginated request.
|
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 items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public Integer getMaxResults()
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
public DescribeFleetHistoryRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public void setNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public String getNextToken()
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
public DescribeFleetHistoryRequest withNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.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()