public class DescribeScheduledInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeScheduledInstancesRequest>
DescribeScheduledInstances operation.
Describes one or more of your Scheduled Instances.
NOOP| Constructor and Description |
|---|
DescribeScheduledInstancesRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeScheduledInstancesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<DescribeScheduledInstancesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more 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()
One or more Scheduled Instance IDs.
|
SlotStartTimeRangeRequest |
getSlotStartTimeRange()
The time period for the first schedule to start.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
One or more 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)
One or more 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; useful for testing and
debugging.
|
DescribeScheduledInstancesRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeScheduledInstancesRequest |
withFilters(Filter... filters)
One or more 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)
One or more Scheduled Instance IDs.
|
DescribeScheduledInstancesRequest |
withScheduledInstanceIds(String... scheduledInstanceIds)
One or more Scheduled Instance IDs.
|
DescribeScheduledInstancesRequest |
withSlotStartTimeRange(SlotStartTimeRangeRequest slotStartTimeRange)
The time period for the first schedule to start.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<String> getScheduledInstanceIds()
public void setScheduledInstanceIds(Collection<String> scheduledInstanceIds)
scheduledInstanceIds - One or more Scheduled Instance IDs.public DescribeScheduledInstancesRequest withScheduledInstanceIds(String... scheduledInstanceIds)
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.
Returns a reference to this object so that method calls can be chained together.
scheduledInstanceIds - One or more Scheduled Instance IDs.public DescribeScheduledInstancesRequest withScheduledInstanceIds(Collection<String> scheduledInstanceIds)
Returns a reference to this object so that method calls can be chained together.
scheduledInstanceIds - One or more Scheduled Instance IDs.public SlotStartTimeRangeRequest getSlotStartTimeRange()
public void setSlotStartTimeRange(SlotStartTimeRangeRequest slotStartTimeRange)
slotStartTimeRange - The time period for the first schedule to start.public DescribeScheduledInstancesRequest withSlotStartTimeRange(SlotStartTimeRangeRequest slotStartTimeRange)
Returns a reference to this object so that method calls can be chained together.
slotStartTimeRange - The time period for the first schedule to start.public String getNextToken()
public void setNextToken(String nextToken)
nextToken - The token for the next set of results.public DescribeScheduledInstancesRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - The token for the next set of results.public Integer getMaxResults()
NextToken value.NextToken value.public void setMaxResults(Integer maxResults)
NextToken value.maxResults - The maximum number of results to return in a single call. To retrieve
the remaining results, make another call with the returned
NextToken value.public DescribeScheduledInstancesRequest withMaxResults(Integer maxResults)
NextToken value.
Returns a reference to this object so that method calls can be chained together.
maxResults - The maximum number of results to return in a single call. To retrieve
the remaining results, make another call with the returned
NextToken value.public List<Filter> getFilters()
availability-zone - The
Availability Zone (for example, us-west-2a).
instance-type - The instance type (for example,
c4.large).
network-platform -
The network platform (EC2-Classic or
EC2-VPC).
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).
network-platform -
The network platform (EC2-Classic or
EC2-VPC).
platform - The
platform (Linux/UNIX or Windows).
public void setFilters(Collection<Filter> filters)
availability-zone - The
Availability Zone (for example, us-west-2a).
instance-type - The instance type (for example,
c4.large).
network-platform -
The network platform (EC2-Classic or
EC2-VPC).
platform - The
platform (Linux/UNIX or Windows).
filters - One or more filters. availability-zone - The
Availability Zone (for example, us-west-2a).
instance-type - The instance type (for example,
c4.large).
network-platform -
The network platform (EC2-Classic or
EC2-VPC).
platform - The
platform (Linux/UNIX or Windows).
public DescribeScheduledInstancesRequest withFilters(Filter... filters)
availability-zone - The
Availability Zone (for example, us-west-2a).
instance-type - The instance type (for example,
c4.large).
network-platform -
The network platform (EC2-Classic or
EC2-VPC).
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.
Returns a reference to this object so that method calls can be chained together.
filters - One or more filters. availability-zone - The
Availability Zone (for example, us-west-2a).
instance-type - The instance type (for example,
c4.large).
network-platform -
The network platform (EC2-Classic or
EC2-VPC).
platform - The
platform (Linux/UNIX or Windows).
public DescribeScheduledInstancesRequest withFilters(Collection<Filter> filters)
availability-zone - The
Availability Zone (for example, us-west-2a).
instance-type - The instance type (for example,
c4.large).
network-platform -
The network platform (EC2-Classic or
EC2-VPC).
platform - The
platform (Linux/UNIX or Windows).
Returns a reference to this object so that method calls can be chained together.
filters - One or more filters. availability-zone - The
Availability Zone (for example, us-west-2a).
instance-type - The instance type (for example,
c4.large).
network-platform -
The network platform (EC2-Classic or
EC2-VPC).
platform - The
platform (Linux/UNIX or Windows).
public Request<DescribeScheduledInstancesRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeScheduledInstancesRequest>public String toString()
toString in class ObjectObject.toString()public DescribeScheduledInstancesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.