@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAcceleratorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAcceleratorsResult() |
Modifier and Type | Method and Description |
---|---|
ListAcceleratorsResult |
clone() |
boolean |
equals(Object obj) |
List<Accelerator> |
getAccelerators()
The list of accelerators for a customer account.
|
String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setAccelerators(Collection<Accelerator> accelerators)
The list of accelerators for a customer account.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListAcceleratorsResult |
withAccelerators(Accelerator... accelerators)
The list of accelerators for a customer account.
|
ListAcceleratorsResult |
withAccelerators(Collection<Accelerator> accelerators)
The list of accelerators for a customer account.
|
ListAcceleratorsResult |
withNextToken(String nextToken)
The token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Accelerator> getAccelerators()
The list of accelerators for a customer account.
public void setAccelerators(Collection<Accelerator> accelerators)
The list of accelerators for a customer account.
accelerators
- The list of accelerators for a customer account.public ListAcceleratorsResult withAccelerators(Accelerator... accelerators)
The list of accelerators for a customer account.
NOTE: This method appends the values to the existing list (if any). Use
setAccelerators(java.util.Collection)
or withAccelerators(java.util.Collection)
if you want to
override the existing values.
accelerators
- The list of accelerators for a customer account.public ListAcceleratorsResult withAccelerators(Collection<Accelerator> accelerators)
The list of accelerators for a customer account.
accelerators
- The list of accelerators for a customer account.public void setNextToken(String nextToken)
The token for the next set of results. You receive this token from a previous call.
nextToken
- The token for the next set of results. You receive this token from a previous call.public String getNextToken()
The token for the next set of results. You receive this token from a previous call.
public ListAcceleratorsResult withNextToken(String nextToken)
The token for the next set of results. You receive this token from a previous call.
nextToken
- The token for the next set of results. You receive this token from a previous call.public String toString()
toString
in class Object
Object.toString()
public ListAcceleratorsResult clone()