@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEventBusesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEventBusesResult() |
Modifier and Type | Method and Description |
---|---|
ListEventBusesResult |
clone() |
boolean |
equals(Object obj) |
List<EventBus> |
getEventBuses()
This list of event buses.
|
String |
getNextToken()
A token you can use in a subsequent operation to retrieve the next set of results.
|
int |
hashCode() |
void |
setEventBuses(Collection<EventBus> eventBuses)
This list of event buses.
|
void |
setNextToken(String nextToken)
A token you can use in a subsequent operation to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListEventBusesResult |
withEventBuses(Collection<EventBus> eventBuses)
This list of event buses.
|
ListEventBusesResult |
withEventBuses(EventBus... eventBuses)
This list of event buses.
|
ListEventBusesResult |
withNextToken(String nextToken)
A token you can use in a subsequent operation to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EventBus> getEventBuses()
This list of event buses.
public void setEventBuses(Collection<EventBus> eventBuses)
This list of event buses.
eventBuses
- This list of event buses.public ListEventBusesResult withEventBuses(EventBus... eventBuses)
This list of event buses.
NOTE: This method appends the values to the existing list (if any). Use
setEventBuses(java.util.Collection)
or withEventBuses(java.util.Collection)
if you want to
override the existing values.
eventBuses
- This list of event buses.public ListEventBusesResult withEventBuses(Collection<EventBus> eventBuses)
This list of event buses.
eventBuses
- This list of event buses.public void setNextToken(String nextToken)
A token you can use in a subsequent operation to retrieve the next set of results.
nextToken
- A token you can use in a subsequent operation to retrieve the next set of results.public String getNextToken()
A token you can use in a subsequent operation to retrieve the next set of results.
public ListEventBusesResult withNextToken(String nextToken)
A token you can use in a subsequent operation to retrieve the next set of results.
nextToken
- A token you can use in a subsequent operation to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListEventBusesResult clone()