@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWebhooksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWebhooksResult() |
Modifier and Type | Method and Description |
---|---|
ListWebhooksResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the amount of returned information is significantly large, an identifier is also returned and can be used in a
subsequent ListWebhooks call to return the next set of webhooks in the list.
|
List<ListWebhookItem> |
getWebhooks()
The JSON detail returned for each webhook in the list output for the ListWebhooks call.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the amount of returned information is significantly large, an identifier is also returned and can be used in a
subsequent ListWebhooks call to return the next set of webhooks in the list.
|
void |
setWebhooks(Collection<ListWebhookItem> webhooks)
The JSON detail returned for each webhook in the list output for the ListWebhooks call.
|
String |
toString()
Returns a string representation of this object.
|
ListWebhooksResult |
withNextToken(String nextToken)
If the amount of returned information is significantly large, an identifier is also returned and can be used in a
subsequent ListWebhooks call to return the next set of webhooks in the list.
|
ListWebhooksResult |
withWebhooks(Collection<ListWebhookItem> webhooks)
The JSON detail returned for each webhook in the list output for the ListWebhooks call.
|
ListWebhooksResult |
withWebhooks(ListWebhookItem... webhooks)
The JSON detail returned for each webhook in the list output for the ListWebhooks call.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ListWebhookItem> getWebhooks()
The JSON detail returned for each webhook in the list output for the ListWebhooks call.
public void setWebhooks(Collection<ListWebhookItem> webhooks)
The JSON detail returned for each webhook in the list output for the ListWebhooks call.
webhooks
- The JSON detail returned for each webhook in the list output for the ListWebhooks call.public ListWebhooksResult withWebhooks(ListWebhookItem... webhooks)
The JSON detail returned for each webhook in the list output for the ListWebhooks call.
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
- The JSON detail returned for each webhook in the list output for the ListWebhooks call.public ListWebhooksResult withWebhooks(Collection<ListWebhookItem> webhooks)
The JSON detail returned for each webhook in the list output for the ListWebhooks call.
webhooks
- The JSON detail returned for each webhook in the list output for the ListWebhooks call.public void setNextToken(String nextToken)
If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent ListWebhooks call to return the next set of webhooks in the list.
nextToken
- If the amount of returned information is significantly large, an identifier is also returned and can be
used in a subsequent ListWebhooks call to return the next set of webhooks in the list.public String getNextToken()
If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent ListWebhooks call to return the next set of webhooks in the list.
public ListWebhooksResult withNextToken(String nextToken)
If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent ListWebhooks call to return the next set of webhooks in the list.
nextToken
- If the amount of returned information is significantly large, an identifier is also returned and can be
used in a subsequent ListWebhooks call to return the next set of webhooks in the list.public String toString()
toString
in class Object
Object.toString()
public ListWebhooksResult clone()