@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCapacityProvidersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeCapacityProvidersResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeCapacityProvidersResult |
clone() |
boolean |
equals(Object obj) |
List<CapacityProvider> |
getCapacityProviders()
The list of capacity providers.
|
List<Failure> |
getFailures()
Any failures associated with the call.
|
String |
getNextToken()
The
nextToken value to include in a future DescribeCapacityProviders request. |
int |
hashCode() |
void |
setCapacityProviders(Collection<CapacityProvider> capacityProviders)
The list of capacity providers.
|
void |
setFailures(Collection<Failure> failures)
Any failures associated with the call.
|
void |
setNextToken(String nextToken)
The
nextToken value to include in a future DescribeCapacityProviders request. |
String |
toString()
Returns a string representation of this object.
|
DescribeCapacityProvidersResult |
withCapacityProviders(CapacityProvider... capacityProviders)
The list of capacity providers.
|
DescribeCapacityProvidersResult |
withCapacityProviders(Collection<CapacityProvider> capacityProviders)
The list of capacity providers.
|
DescribeCapacityProvidersResult |
withFailures(Collection<Failure> failures)
Any failures associated with the call.
|
DescribeCapacityProvidersResult |
withFailures(Failure... failures)
Any failures associated with the call.
|
DescribeCapacityProvidersResult |
withNextToken(String nextToken)
The
nextToken value to include in a future DescribeCapacityProviders request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<CapacityProvider> getCapacityProviders()
The list of capacity providers.
public void setCapacityProviders(Collection<CapacityProvider> capacityProviders)
The list of capacity providers.
capacityProviders - The list of capacity providers.public DescribeCapacityProvidersResult withCapacityProviders(CapacityProvider... capacityProviders)
The list of capacity providers.
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 list of capacity providers.public DescribeCapacityProvidersResult withCapacityProviders(Collection<CapacityProvider> capacityProviders)
The list of capacity providers.
capacityProviders - The list of capacity providers.public List<Failure> getFailures()
Any failures associated with the call.
public void setFailures(Collection<Failure> failures)
Any failures associated with the call.
failures - Any failures associated with the call.public DescribeCapacityProvidersResult withFailures(Failure... failures)
Any failures associated with the call.
NOTE: This method appends the values to the existing list (if any). Use
setFailures(java.util.Collection) or withFailures(java.util.Collection) if you want to override
the existing values.
failures - Any failures associated with the call.public DescribeCapacityProvidersResult withFailures(Collection<Failure> failures)
Any failures associated with the call.
failures - Any failures associated with the call.public void setNextToken(String nextToken)
The nextToken value to include in a future DescribeCapacityProviders request. When the
results of a DescribeCapacityProviders request exceed maxResults, this value can be
used to retrieve the next page of results. This value is null when there are no more results to
return.
nextToken - The nextToken value to include in a future DescribeCapacityProviders request.
When the results of a DescribeCapacityProviders request exceed maxResults, this
value can be used to retrieve the next page of results. This value is null when there are no
more results to return.public String getNextToken()
The nextToken value to include in a future DescribeCapacityProviders request. When the
results of a DescribeCapacityProviders request exceed maxResults, this value can be
used to retrieve the next page of results. This value is null when there are no more results to
return.
nextToken value to include in a future DescribeCapacityProviders request.
When the results of a DescribeCapacityProviders request exceed maxResults, this
value can be used to retrieve the next page of results. This value is null when there are no
more results to return.public DescribeCapacityProvidersResult withNextToken(String nextToken)
The nextToken value to include in a future DescribeCapacityProviders request. When the
results of a DescribeCapacityProviders request exceed maxResults, this value can be
used to retrieve the next page of results. This value is null when there are no more results to
return.
nextToken - The nextToken value to include in a future DescribeCapacityProviders request.
When the results of a DescribeCapacityProviders request exceed maxResults, this
value can be used to retrieve the next page of results. This value is null when there are no
more results to return.public String toString()
toString in class ObjectObject.toString()public DescribeCapacityProvidersResult clone()