@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeScheduledInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeScheduledInstancesRequest>
Contains the parameters for DescribeScheduledInstances.
NOOP
Constructor and Description |
---|
DescribeScheduledInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeScheduledInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeScheduledInstancesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
String |
getNextToken()
The token for the next set of results.
|
List<String> |
getScheduledInstanceIds()
The Scheduled Instance IDs.
|
SlotStartTimeRangeRequest |
getSlotStartTimeRange()
The time period for the first schedule to start.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
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 |
setScheduledInstanceIds(Collection<String> scheduledInstanceIds)
The Scheduled Instance IDs.
|
void |
setSlotStartTimeRange(SlotStartTimeRangeRequest slotStartTimeRange)
The time period for the first schedule to start.
|
String |
toString()
Returns a string representation of this object.
|
DescribeScheduledInstancesRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribeScheduledInstancesRequest |
withFilters(Filter... filters)
The filters.
|
DescribeScheduledInstancesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeScheduledInstancesRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
DescribeScheduledInstancesRequest |
withScheduledInstanceIds(Collection<String> scheduledInstanceIds)
The Scheduled Instance IDs.
|
DescribeScheduledInstancesRequest |
withScheduledInstanceIds(String... scheduledInstanceIds)
The Scheduled Instance IDs.
|
DescribeScheduledInstancesRequest |
withSlotStartTimeRange(SlotStartTimeRangeRequest slotStartTimeRange)
The time period for the first schedule to start.
|
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 List<Filter> getFilters()
The filters.
availability-zone
- The Availability Zone (for example, us-west-2a
).
instance-type
- The instance type (for example, c4.large
).
platform
- The platform (Linux/UNIX
or Windows
).
availability-zone
- The Availability Zone (for example, us-west-2a
).
instance-type
- The instance type (for example, c4.large
).
platform
- The platform (Linux/UNIX
or Windows
).
public void setFilters(Collection<Filter> filters)
The filters.
availability-zone
- The Availability Zone (for example, us-west-2a
).
instance-type
- The instance type (for example, c4.large
).
platform
- The platform (Linux/UNIX
or Windows
).
filters
- The filters.
availability-zone
- The Availability Zone (for example, us-west-2a
).
instance-type
- The instance type (for example, c4.large
).
platform
- The platform (Linux/UNIX
or Windows
).
public DescribeScheduledInstancesRequest withFilters(Filter... filters)
The filters.
availability-zone
- The Availability Zone (for example, us-west-2a
).
instance-type
- The instance type (for example, c4.large
).
platform
- The platform (Linux/UNIX
or Windows
).
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The filters.
availability-zone
- The Availability Zone (for example, us-west-2a
).
instance-type
- The instance type (for example, c4.large
).
platform
- The platform (Linux/UNIX
or Windows
).
public DescribeScheduledInstancesRequest withFilters(Collection<Filter> filters)
The filters.
availability-zone
- The Availability Zone (for example, us-west-2a
).
instance-type
- The instance type (for example, c4.large
).
platform
- The platform (Linux/UNIX
or Windows
).
filters
- The filters.
availability-zone
- The Availability Zone (for example, us-west-2a
).
instance-type
- The instance type (for example, c4.large
).
platform
- The platform (Linux/UNIX
or Windows
).
public void setMaxResults(Integer maxResults)
The maximum number of results to return in a single call. This value can be between 5 and 300. The default value
is 100. 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. This value can be between 5 and 300. The default
value is 100. 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. This value can be between 5 and 300. The default value
is 100. To retrieve the remaining results, make another call with the returned NextToken
value.
NextToken
value.public DescribeScheduledInstancesRequest withMaxResults(Integer maxResults)
The maximum number of results to return in a single call. This value can be between 5 and 300. The default value
is 100. 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. This value can be between 5 and 300. The default
value is 100. 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 DescribeScheduledInstancesRequest withNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public List<String> getScheduledInstanceIds()
The Scheduled Instance IDs.
public void setScheduledInstanceIds(Collection<String> scheduledInstanceIds)
The Scheduled Instance IDs.
scheduledInstanceIds
- The Scheduled Instance IDs.public DescribeScheduledInstancesRequest withScheduledInstanceIds(String... scheduledInstanceIds)
The Scheduled Instance IDs.
NOTE: This method appends the values to the existing list (if any). Use
setScheduledInstanceIds(java.util.Collection)
or withScheduledInstanceIds(java.util.Collection)
if you want to override the existing values.
scheduledInstanceIds
- The Scheduled Instance IDs.public DescribeScheduledInstancesRequest withScheduledInstanceIds(Collection<String> scheduledInstanceIds)
The Scheduled Instance IDs.
scheduledInstanceIds
- The Scheduled Instance IDs.public void setSlotStartTimeRange(SlotStartTimeRangeRequest slotStartTimeRange)
The time period for the first schedule to start.
slotStartTimeRange
- The time period for the first schedule to start.public SlotStartTimeRangeRequest getSlotStartTimeRange()
The time period for the first schedule to start.
public DescribeScheduledInstancesRequest withSlotStartTimeRange(SlotStartTimeRangeRequest slotStartTimeRange)
The time period for the first schedule to start.
slotStartTimeRange
- The time period for the first schedule to start.public Request<DescribeScheduledInstancesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeScheduledInstancesRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeScheduledInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()