@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMonitorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListMonitorsResult() |
Modifier and Type | Method and Description |
---|---|
ListMonitorsResult |
clone() |
boolean |
equals(Object obj) |
List<MonitorSummary> |
getMonitors()
Lists individual details about each of your monitors.
|
String |
getNextToken()
The token for the next page of results.
|
int |
hashCode() |
void |
setMonitors(Collection<MonitorSummary> monitors)
Lists individual details about each of your monitors.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListMonitorsResult |
withMonitors(Collection<MonitorSummary> monitors)
Lists individual details about each of your monitors.
|
ListMonitorsResult |
withMonitors(MonitorSummary... monitors)
Lists individual details about each of your monitors.
|
ListMonitorsResult |
withNextToken(String nextToken)
The token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<MonitorSummary> getMonitors()
Lists individual details about each of your monitors.
public void setMonitors(Collection<MonitorSummary> monitors)
Lists individual details about each of your monitors.
monitors
- Lists individual details about each of your monitors.public ListMonitorsResult withMonitors(MonitorSummary... monitors)
Lists individual details about each of your monitors.
NOTE: This method appends the values to the existing list (if any). Use
setMonitors(java.util.Collection)
or withMonitors(java.util.Collection)
if you want to override
the existing values.
monitors
- Lists individual details about each of your monitors.public ListMonitorsResult withMonitors(Collection<MonitorSummary> monitors)
Lists individual details about each of your monitors.
monitors
- Lists individual details about each of your monitors.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public ListMonitorsResult withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListMonitorsResult clone()