@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWebhooksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
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()
Pagination token.
|
List<Webhook> |
getWebhooks()
List of webhooks.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Pagination token.
|
void |
setWebhooks(Collection<Webhook> webhooks)
List of webhooks.
|
String |
toString()
Returns a string representation of this object.
|
ListWebhooksResult |
withNextToken(String nextToken)
Pagination token.
|
ListWebhooksResult |
withWebhooks(Collection<Webhook> webhooks)
List of webhooks.
|
ListWebhooksResult |
withWebhooks(Webhook... webhooks)
List of webhooks.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setWebhooks(Collection<Webhook> webhooks)
List of webhooks.
webhooks
- List of webhooks.public ListWebhooksResult withWebhooks(Webhook... webhooks)
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
- List of webhooks.public ListWebhooksResult withWebhooks(Collection<Webhook> webhooks)
List of webhooks.
webhooks
- List of webhooks.public void setNextToken(String nextToken)
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
nextToken
- Pagination token. If non-null pagination token is returned in a result, then pass its value in another
request to fetch more entries.public String getNextToken()
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
public ListWebhooksResult withNextToken(String nextToken)
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
nextToken
- Pagination token. If non-null pagination token is returned in a result, then pass its value in another
request to fetch more entries.public String toString()
toString
in class Object
Object.toString()
public ListWebhooksResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.