@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWebhooksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result structure for the list webhooks request.
| Constructor and Description | 
|---|
| ListWebhooksResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListWebhooksResult | clone() | 
| boolean | equals(Object obj) | 
| String | getNextToken()
 A pagination token. | 
| List<Webhook> | getWebhooks()
 A list of webhooks. | 
| int | hashCode() | 
| void | setNextToken(String nextToken)
 A pagination token. | 
| void | setWebhooks(Collection<Webhook> webhooks)
 A list of webhooks. | 
| String | toString()Returns a string representation of this object. | 
| ListWebhooksResult | withNextToken(String nextToken)
 A pagination token. | 
| ListWebhooksResult | withWebhooks(Collection<Webhook> webhooks)
 A list of webhooks. | 
| ListWebhooksResult | withWebhooks(Webhook... webhooks)
 A list of webhooks. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setWebhooks(Collection<Webhook> webhooks)
A list of webhooks.
webhooks - A list of webhooks.public ListWebhooksResult withWebhooks(Webhook... webhooks)
A list of webhooks.
 NOTE: This method appends the values to the existing list (if any). Use
 setWebhooks(java.util.Collection) or withWebhooks(java.util.Collection) if you want to override
 the existing values.
 
webhooks - A list of webhooks.public ListWebhooksResult withWebhooks(Collection<Webhook> webhooks)
A list of webhooks.
webhooks - A list of webhooks.public void setNextToken(String nextToken)
A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.
nextToken - A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another
        request to retrieve more entries.public String getNextToken()
A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.
public ListWebhooksResult withNextToken(String nextToken)
A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.
nextToken - A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another
        request to retrieve more entries.public String toString()
toString in class ObjectObject.toString()public ListWebhooksResult clone()