@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAdaptersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAdaptersResult() |
Modifier and Type | Method and Description |
---|---|
ListAdaptersResult |
clone() |
boolean |
equals(Object obj) |
List<AdapterOverview> |
getAdapters()
A list of adapters that matches the filtering criteria specified when calling ListAdapters.
|
String |
getNextToken()
Identifies the next page of results to return when listing adapters.
|
int |
hashCode() |
void |
setAdapters(Collection<AdapterOverview> adapters)
A list of adapters that matches the filtering criteria specified when calling ListAdapters.
|
void |
setNextToken(String nextToken)
Identifies the next page of results to return when listing adapters.
|
String |
toString()
Returns a string representation of this object.
|
ListAdaptersResult |
withAdapters(AdapterOverview... adapters)
A list of adapters that matches the filtering criteria specified when calling ListAdapters.
|
ListAdaptersResult |
withAdapters(Collection<AdapterOverview> adapters)
A list of adapters that matches the filtering criteria specified when calling ListAdapters.
|
ListAdaptersResult |
withNextToken(String nextToken)
Identifies the next page of results to return when listing adapters.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AdapterOverview> getAdapters()
A list of adapters that matches the filtering criteria specified when calling ListAdapters.
public void setAdapters(Collection<AdapterOverview> adapters)
A list of adapters that matches the filtering criteria specified when calling ListAdapters.
adapters
- A list of adapters that matches the filtering criteria specified when calling ListAdapters.public ListAdaptersResult withAdapters(AdapterOverview... adapters)
A list of adapters that matches the filtering criteria specified when calling ListAdapters.
NOTE: This method appends the values to the existing list (if any). Use
setAdapters(java.util.Collection)
or withAdapters(java.util.Collection)
if you want to override
the existing values.
adapters
- A list of adapters that matches the filtering criteria specified when calling ListAdapters.public ListAdaptersResult withAdapters(Collection<AdapterOverview> adapters)
A list of adapters that matches the filtering criteria specified when calling ListAdapters.
adapters
- A list of adapters that matches the filtering criteria specified when calling ListAdapters.public void setNextToken(String nextToken)
Identifies the next page of results to return when listing adapters.
nextToken
- Identifies the next page of results to return when listing adapters.public String getNextToken()
Identifies the next page of results to return when listing adapters.
public ListAdaptersResult withNextToken(String nextToken)
Identifies the next page of results to return when listing adapters.
nextToken
- Identifies the next page of results to return when listing adapters.public String toString()
toString
in class Object
Object.toString()
public ListAdaptersResult clone()