@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDiscoverersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDiscoverersResult() |
Modifier and Type | Method and Description |
---|---|
ListDiscoverersResult |
clone() |
boolean |
equals(Object obj) |
List<DiscovererSummary> |
getDiscoverers()
An array of DiscovererSummary information.
|
String |
getNextToken()
The token that specifies the next page of results to return.
|
int |
hashCode() |
void |
setDiscoverers(Collection<DiscovererSummary> discoverers)
An array of DiscovererSummary information.
|
void |
setNextToken(String nextToken)
The token that specifies the next page of results to return.
|
String |
toString()
Returns a string representation of this object.
|
ListDiscoverersResult |
withDiscoverers(Collection<DiscovererSummary> discoverers)
An array of DiscovererSummary information.
|
ListDiscoverersResult |
withDiscoverers(DiscovererSummary... discoverers)
An array of DiscovererSummary information.
|
ListDiscoverersResult |
withNextToken(String nextToken)
The token that specifies the next page of results to return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DiscovererSummary> getDiscoverers()
An array of DiscovererSummary information.
public void setDiscoverers(Collection<DiscovererSummary> discoverers)
An array of DiscovererSummary information.
discoverers
- An array of DiscovererSummary information.public ListDiscoverersResult withDiscoverers(DiscovererSummary... discoverers)
An array of DiscovererSummary information.
NOTE: This method appends the values to the existing list (if any). Use
setDiscoverers(java.util.Collection)
or withDiscoverers(java.util.Collection)
if you want to
override the existing values.
discoverers
- An array of DiscovererSummary information.public ListDiscoverersResult withDiscoverers(Collection<DiscovererSummary> discoverers)
An array of DiscovererSummary information.
discoverers
- An array of DiscovererSummary information.public void setNextToken(String nextToken)
The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.
nextToken
- The token that specifies the next page of results to return. To request the first page, leave NextToken
empty. The token will expire in 24 hours, and cannot be shared with other accounts.public String getNextToken()
The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.
public ListDiscoverersResult withNextToken(String nextToken)
The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.
nextToken
- The token that specifies the next page of results to return. To request the first page, leave NextToken
empty. The token will expire in 24 hours, and cannot be shared with other accounts.public String toString()
toString
in class Object
Object.toString()
public ListDiscoverersResult clone()