@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEventTypesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEventTypesResult() |
Modifier and Type | Method and Description |
---|---|
ListEventTypesResult |
clone() |
boolean |
equals(Object obj) |
List<EventTypeSummary> |
getEventTypes()
Information about each event, including service name, resource type, event ID, and event name.
|
String |
getNextToken()
An enumeration token that can be used in a request to return the next batch of the results.
|
int |
hashCode() |
void |
setEventTypes(Collection<EventTypeSummary> eventTypes)
Information about each event, including service name, resource type, event ID, and event name.
|
void |
setNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
|
String |
toString()
Returns a string representation of this object.
|
ListEventTypesResult |
withEventTypes(Collection<EventTypeSummary> eventTypes)
Information about each event, including service name, resource type, event ID, and event name.
|
ListEventTypesResult |
withEventTypes(EventTypeSummary... eventTypes)
Information about each event, including service name, resource type, event ID, and event name.
|
ListEventTypesResult |
withNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EventTypeSummary> getEventTypes()
Information about each event, including service name, resource type, event ID, and event name.
public void setEventTypes(Collection<EventTypeSummary> eventTypes)
Information about each event, including service name, resource type, event ID, and event name.
eventTypes
- Information about each event, including service name, resource type, event ID, and event name.public ListEventTypesResult withEventTypes(EventTypeSummary... eventTypes)
Information about each event, including service name, resource type, event ID, and event name.
NOTE: This method appends the values to the existing list (if any). Use
setEventTypes(java.util.Collection)
or withEventTypes(java.util.Collection)
if you want to
override the existing values.
eventTypes
- Information about each event, including service name, resource type, event ID, and event name.public ListEventTypesResult withEventTypes(Collection<EventTypeSummary> eventTypes)
Information about each event, including service name, resource type, event ID, and event name.
eventTypes
- Information about each event, including service name, resource type, event ID, and event name.public void setNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
nextToken
- An enumeration token that can be used in a request to return the next batch of the results.public String getNextToken()
An enumeration token that can be used in a request to return the next batch of the results.
public ListEventTypesResult withNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
nextToken
- An enumeration token that can be used in a request to return the next batch of the results.public String toString()
toString
in class Object
Object.toString()
public ListEventTypesResult clone()