@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCapacityProvidersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeCapacityProvidersRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeCapacityProvidersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getCapacityProviders()
The short name or full Amazon Resource Name (ARN) of one or more capacity providers.
|
List<String> |
getInclude()
Specifies whether or not you want to see the resource tags for the capacity provider.
|
Integer |
getMaxResults()
The maximum number of account setting results returned by
DescribeCapacityProviders in paginated
output. |
String |
getNextToken()
The
nextToken value returned from a previous paginated DescribeCapacityProviders
request where maxResults was used and the results exceeded the value of that parameter. |
int |
hashCode() |
void |
setCapacityProviders(Collection<String> capacityProviders)
The short name or full Amazon Resource Name (ARN) of one or more capacity providers.
|
void |
setInclude(Collection<String> include)
Specifies whether or not you want to see the resource tags for the capacity provider.
|
void |
setMaxResults(Integer maxResults)
The maximum number of account setting results returned by
DescribeCapacityProviders in paginated
output. |
void |
setNextToken(String nextToken)
The
nextToken value returned from a previous paginated DescribeCapacityProviders
request where maxResults was used and the results exceeded the value of that parameter. |
String |
toString()
Returns a string representation of this object.
|
DescribeCapacityProvidersRequest |
withCapacityProviders(Collection<String> capacityProviders)
The short name or full Amazon Resource Name (ARN) of one or more capacity providers.
|
DescribeCapacityProvidersRequest |
withCapacityProviders(String... capacityProviders)
The short name or full Amazon Resource Name (ARN) of one or more capacity providers.
|
DescribeCapacityProvidersRequest |
withInclude(CapacityProviderField... include)
Specifies whether or not you want to see the resource tags for the capacity provider.
|
DescribeCapacityProvidersRequest |
withInclude(Collection<String> include)
Specifies whether or not you want to see the resource tags for the capacity provider.
|
DescribeCapacityProvidersRequest |
withInclude(String... include)
Specifies whether or not you want to see the resource tags for the capacity provider.
|
DescribeCapacityProvidersRequest |
withMaxResults(Integer maxResults)
The maximum number of account setting results returned by
DescribeCapacityProviders in paginated
output. |
DescribeCapacityProvidersRequest |
withNextToken(String nextToken)
The
nextToken value returned from a previous paginated DescribeCapacityProviders
request where maxResults was used and the results exceeded the value of that parameter. |
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> getCapacityProviders()
The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to 100
capacity providers can be described in an action.
100
capacity providers can be described in an action.public void setCapacityProviders(Collection<String> capacityProviders)
The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to 100
capacity providers can be described in an action.
capacityProviders
- The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to
100
capacity providers can be described in an action.public DescribeCapacityProvidersRequest withCapacityProviders(String... capacityProviders)
The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to 100
capacity providers can be described in an action.
NOTE: This method appends the values to the existing list (if any). Use
setCapacityProviders(java.util.Collection)
or withCapacityProviders(java.util.Collection)
if
you want to override the existing values.
capacityProviders
- The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to
100
capacity providers can be described in an action.public DescribeCapacityProvidersRequest withCapacityProviders(Collection<String> capacityProviders)
The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to 100
capacity providers can be described in an action.
capacityProviders
- The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to
100
capacity providers can be described in an action.public List<String> getInclude()
Specifies whether or not you want to see the resource tags for the capacity provider. If TAGS
is
specified, the tags are included in the response. If this field is omitted, tags are not included in the
response.
TAGS
is specified, the tags are included in the response. If this field is omitted, tags are
not included in the response.CapacityProviderField
public void setInclude(Collection<String> include)
Specifies whether or not you want to see the resource tags for the capacity provider. If TAGS
is
specified, the tags are included in the response. If this field is omitted, tags are not included in the
response.
include
- Specifies whether or not you want to see the resource tags for the capacity provider. If TAGS
is specified, the tags are included in the response. If this field is omitted, tags are not included in
the response.CapacityProviderField
public DescribeCapacityProvidersRequest withInclude(String... include)
Specifies whether or not you want to see the resource tags for the capacity provider. If TAGS
is
specified, the tags are included in the response. If this field is omitted, tags are not included in the
response.
NOTE: This method appends the values to the existing list (if any). Use
setInclude(java.util.Collection)
or withInclude(java.util.Collection)
if you want to override
the existing values.
include
- Specifies whether or not you want to see the resource tags for the capacity provider. If TAGS
is specified, the tags are included in the response. If this field is omitted, tags are not included in
the response.CapacityProviderField
public DescribeCapacityProvidersRequest withInclude(Collection<String> include)
Specifies whether or not you want to see the resource tags for the capacity provider. If TAGS
is
specified, the tags are included in the response. If this field is omitted, tags are not included in the
response.
include
- Specifies whether or not you want to see the resource tags for the capacity provider. If TAGS
is specified, the tags are included in the response. If this field is omitted, tags are not included in
the response.CapacityProviderField
public DescribeCapacityProvidersRequest withInclude(CapacityProviderField... include)
Specifies whether or not you want to see the resource tags for the capacity provider. If TAGS
is
specified, the tags are included in the response. If this field is omitted, tags are not included in the
response.
include
- Specifies whether or not you want to see the resource tags for the capacity provider. If TAGS
is specified, the tags are included in the response. If this field is omitted, tags are not included in
the response.CapacityProviderField
public void setMaxResults(Integer maxResults)
The maximum number of account setting results returned by DescribeCapacityProviders
in paginated
output. When this parameter is used, DescribeCapacityProviders
only returns maxResults
results in a single page along with a nextToken
response element. The remaining results of the
initial request can be seen by sending another DescribeCapacityProviders
request with the returned
nextToken
value. This value can be between 1 and 10. If this parameter is not used, then
DescribeCapacityProviders
returns up to 10 results and a nextToken
value if applicable.
maxResults
- The maximum number of account setting results returned by DescribeCapacityProviders
in
paginated output. When this parameter is used, DescribeCapacityProviders
only returns
maxResults
results in a single page along with a nextToken
response element. The
remaining results of the initial request can be seen by sending another
DescribeCapacityProviders
request with the returned nextToken
value. This value
can be between 1 and 10. If this parameter is not used, then DescribeCapacityProviders
returns up to 10 results and a nextToken
value if applicable.public Integer getMaxResults()
The maximum number of account setting results returned by DescribeCapacityProviders
in paginated
output. When this parameter is used, DescribeCapacityProviders
only returns maxResults
results in a single page along with a nextToken
response element. The remaining results of the
initial request can be seen by sending another DescribeCapacityProviders
request with the returned
nextToken
value. This value can be between 1 and 10. If this parameter is not used, then
DescribeCapacityProviders
returns up to 10 results and a nextToken
value if applicable.
DescribeCapacityProviders
in
paginated output. When this parameter is used, DescribeCapacityProviders
only returns
maxResults
results in a single page along with a nextToken
response element.
The remaining results of the initial request can be seen by sending another
DescribeCapacityProviders
request with the returned nextToken
value. This value
can be between 1 and 10. If this parameter is not used, then DescribeCapacityProviders
returns up to 10 results and a nextToken
value if applicable.public DescribeCapacityProvidersRequest withMaxResults(Integer maxResults)
The maximum number of account setting results returned by DescribeCapacityProviders
in paginated
output. When this parameter is used, DescribeCapacityProviders
only returns maxResults
results in a single page along with a nextToken
response element. The remaining results of the
initial request can be seen by sending another DescribeCapacityProviders
request with the returned
nextToken
value. This value can be between 1 and 10. If this parameter is not used, then
DescribeCapacityProviders
returns up to 10 results and a nextToken
value if applicable.
maxResults
- The maximum number of account setting results returned by DescribeCapacityProviders
in
paginated output. When this parameter is used, DescribeCapacityProviders
only returns
maxResults
results in a single page along with a nextToken
response element. The
remaining results of the initial request can be seen by sending another
DescribeCapacityProviders
request with the returned nextToken
value. This value
can be between 1 and 10. If this parameter is not used, then DescribeCapacityProviders
returns up to 10 results and a nextToken
value if applicable.public void setNextToken(String nextToken)
The nextToken
value returned from a previous paginated DescribeCapacityProviders
request where maxResults
was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken
- The nextToken
value returned from a previous paginated DescribeCapacityProviders
request where maxResults
was used and the results exceeded the value of that parameter.
Pagination continues from the end of the previous results that returned the nextToken
value. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
public String getNextToken()
The nextToken
value returned from a previous paginated DescribeCapacityProviders
request where maxResults
was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken
value returned from a previous paginated
DescribeCapacityProviders
request where maxResults
was used and the results
exceeded the value of that parameter. Pagination continues from the end of the previous results that
returned the nextToken
value. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
public DescribeCapacityProvidersRequest withNextToken(String nextToken)
The nextToken
value returned from a previous paginated DescribeCapacityProviders
request where maxResults
was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken
- The nextToken
value returned from a previous paginated DescribeCapacityProviders
request where maxResults
was used and the results exceeded the value of that parameter.
Pagination continues from the end of the previous results that returned the nextToken
value. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
public String toString()
toString
in class Object
Object.toString()
public DescribeCapacityProvidersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()