public class DescribeScheduledInstancesRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<DescribeScheduledInstancesRequest>
DescribeScheduledInstances operation
.
Describes one or more of your Scheduled Instances.
Constructor and Description |
---|
DescribeScheduledInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Request<DescribeScheduledInstancesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.util.List<Filter> |
getFilters()
One or more filters.
|
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.util.List<java.lang.String> |
getScheduledInstanceIds()
One or more Scheduled Instance IDs.
|
SlotStartTimeRangeRequest |
getSlotStartTimeRange()
The time period for the first schedule to start.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
One or more filters.
|
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 |
setScheduledInstanceIds(java.util.Collection<java.lang.String> scheduledInstanceIds)
One or more Scheduled Instance IDs.
|
void |
setSlotStartTimeRange(SlotStartTimeRangeRequest slotStartTimeRange)
The time period for the first schedule to start.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeScheduledInstancesRequest |
withFilters(java.util.Collection<Filter> filters)
One or more filters.
|
DescribeScheduledInstancesRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeScheduledInstancesRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeScheduledInstancesRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
DescribeScheduledInstancesRequest |
withScheduledInstanceIds(java.util.Collection<java.lang.String> scheduledInstanceIds)
One or more Scheduled Instance IDs.
|
DescribeScheduledInstancesRequest |
withScheduledInstanceIds(java.lang.String... scheduledInstanceIds)
One or more Scheduled Instance IDs.
|
DescribeScheduledInstancesRequest |
withSlotStartTimeRange(SlotStartTimeRangeRequest slotStartTimeRange)
The time period for the first schedule to start.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getScheduledInstanceIds()
public void setScheduledInstanceIds(java.util.Collection<java.lang.String> scheduledInstanceIds)
scheduledInstanceIds
- One or more Scheduled Instance IDs.public DescribeScheduledInstancesRequest withScheduledInstanceIds(java.lang.String... scheduledInstanceIds)
Returns a reference to this object so that method calls can be chained together.
scheduledInstanceIds
- One or more Scheduled Instance IDs.public DescribeScheduledInstancesRequest withScheduledInstanceIds(java.util.Collection<java.lang.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 java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken
- The token for the next set of results.public DescribeScheduledInstancesRequest withNextToken(java.lang.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 java.lang.Integer getMaxResults()
NextToken
value.NextToken
value.public void setMaxResults(java.lang.Integer maxResults)
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 DescribeScheduledInstancesRequest withMaxResults(java.lang.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. 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 java.util.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(java.util.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
).
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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.