@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAcceleratorsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeAcceleratorsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAcceleratorsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAcceleratorIds()
The IDs of the accelerators to describe.
|
List<Filter> |
getFilters()
One or more filters.
|
Integer |
getMaxResults()
The total number of items to return in the command's output.
|
String |
getNextToken()
A token to specify where to start paginating.
|
int |
hashCode() |
void |
setAcceleratorIds(Collection<String> acceleratorIds)
The IDs of the accelerators to describe.
|
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setMaxResults(Integer maxResults)
The total number of items to return in the command's output.
|
void |
setNextToken(String nextToken)
A token to specify where to start paginating.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAcceleratorsRequest |
withAcceleratorIds(Collection<String> acceleratorIds)
The IDs of the accelerators to describe.
|
DescribeAcceleratorsRequest |
withAcceleratorIds(String... acceleratorIds)
The IDs of the accelerators to describe.
|
DescribeAcceleratorsRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeAcceleratorsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeAcceleratorsRequest |
withMaxResults(Integer maxResults)
The total number of items to return in the command's output.
|
DescribeAcceleratorsRequest |
withNextToken(String nextToken)
A token to specify where to start paginating.
|
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<String> getAcceleratorIds()
The IDs of the accelerators to describe.
public void setAcceleratorIds(Collection<String> acceleratorIds)
The IDs of the accelerators to describe.
acceleratorIds
- The IDs of the accelerators to describe.public DescribeAcceleratorsRequest withAcceleratorIds(String... acceleratorIds)
The IDs of the accelerators to describe.
NOTE: This method appends the values to the existing list (if any). Use
setAcceleratorIds(java.util.Collection)
or withAcceleratorIds(java.util.Collection)
if you want
to override the existing values.
acceleratorIds
- The IDs of the accelerators to describe.public DescribeAcceleratorsRequest withAcceleratorIds(Collection<String> acceleratorIds)
The IDs of the accelerators to describe.
acceleratorIds
- The IDs of the accelerators to describe.public List<Filter> getFilters()
One or more filters. Filter names and values are case-sensitive. Valid filter names are: accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a list of EC2 instance ids to filter for.
public void setFilters(Collection<Filter> filters)
One or more filters. Filter names and values are case-sensitive. Valid filter names are: accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a list of EC2 instance ids to filter for.
filters
- One or more filters. Filter names and values are case-sensitive. Valid filter names are:
accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a
list of EC2 instance ids to filter for.public DescribeAcceleratorsRequest withFilters(Filter... filters)
One or more filters. Filter names and values are case-sensitive. Valid filter names are: accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a list of EC2 instance ids to filter for.
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
- One or more filters. Filter names and values are case-sensitive. Valid filter names are:
accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a
list of EC2 instance ids to filter for.public DescribeAcceleratorsRequest withFilters(Collection<Filter> filters)
One or more filters. Filter names and values are case-sensitive. Valid filter names are: accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a list of EC2 instance ids to filter for.
filters
- One or more filters. Filter names and values are case-sensitive. Valid filter names are:
accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a
list of EC2 instance ids to filter for.public void setMaxResults(Integer maxResults)
The total number of items to return in the command's output. If the total number of items available is more than the value specified, a NextToken is provided in the command's output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command. Do not use the NextToken response element directly outside of the AWS CLI.
maxResults
- The total number of items to return in the command's output. If the total number of items available is
more than the value specified, a NextToken is provided in the command's output. To resume pagination,
provide the NextToken value in the starting-token argument of a subsequent command. Do not use the
NextToken response element directly outside of the AWS CLI.public Integer getMaxResults()
The total number of items to return in the command's output. If the total number of items available is more than the value specified, a NextToken is provided in the command's output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command. Do not use the NextToken response element directly outside of the AWS CLI.
public DescribeAcceleratorsRequest withMaxResults(Integer maxResults)
The total number of items to return in the command's output. If the total number of items available is more than the value specified, a NextToken is provided in the command's output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command. Do not use the NextToken response element directly outside of the AWS CLI.
maxResults
- The total number of items to return in the command's output. If the total number of items available is
more than the value specified, a NextToken is provided in the command's output. To resume pagination,
provide the NextToken value in the starting-token argument of a subsequent command. Do not use the
NextToken response element directly outside of the AWS CLI.public void setNextToken(String nextToken)
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
nextToken
- A token to specify where to start paginating. This is the NextToken from a previously truncated response.public String getNextToken()
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
public DescribeAcceleratorsRequest withNextToken(String nextToken)
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
nextToken
- A token to specify where to start paginating. This is the NextToken from a previously truncated response.public String toString()
toString
in class Object
Object.toString()
public DescribeAcceleratorsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()