@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMonitoringAlertsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListMonitoringAlertsResult() |
Modifier and Type | Method and Description |
---|---|
ListMonitoringAlertsResult |
clone() |
boolean |
equals(Object obj) |
List<MonitoringAlertSummary> |
getMonitoringAlertSummaries()
A JSON array where each element is a summary for a monitoring alert.
|
String |
getNextToken()
If the response is truncated, SageMaker returns this token.
|
int |
hashCode() |
void |
setMonitoringAlertSummaries(Collection<MonitoringAlertSummary> monitoringAlertSummaries)
A JSON array where each element is a summary for a monitoring alert.
|
void |
setNextToken(String nextToken)
If the response is truncated, SageMaker returns this token.
|
String |
toString()
Returns a string representation of this object.
|
ListMonitoringAlertsResult |
withMonitoringAlertSummaries(Collection<MonitoringAlertSummary> monitoringAlertSummaries)
A JSON array where each element is a summary for a monitoring alert.
|
ListMonitoringAlertsResult |
withMonitoringAlertSummaries(MonitoringAlertSummary... monitoringAlertSummaries)
A JSON array where each element is a summary for a monitoring alert.
|
ListMonitoringAlertsResult |
withNextToken(String nextToken)
If the response is truncated, SageMaker returns this token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<MonitoringAlertSummary> getMonitoringAlertSummaries()
A JSON array where each element is a summary for a monitoring alert.
public void setMonitoringAlertSummaries(Collection<MonitoringAlertSummary> monitoringAlertSummaries)
A JSON array where each element is a summary for a monitoring alert.
monitoringAlertSummaries
- A JSON array where each element is a summary for a monitoring alert.public ListMonitoringAlertsResult withMonitoringAlertSummaries(MonitoringAlertSummary... monitoringAlertSummaries)
A JSON array where each element is a summary for a monitoring alert.
NOTE: This method appends the values to the existing list (if any). Use
setMonitoringAlertSummaries(java.util.Collection)
or
withMonitoringAlertSummaries(java.util.Collection)
if you want to override the existing values.
monitoringAlertSummaries
- A JSON array where each element is a summary for a monitoring alert.public ListMonitoringAlertsResult withMonitoringAlertSummaries(Collection<MonitoringAlertSummary> monitoringAlertSummaries)
A JSON array where each element is a summary for a monitoring alert.
monitoringAlertSummaries
- A JSON array where each element is a summary for a monitoring alert.public void setNextToken(String nextToken)
If the response is truncated, SageMaker returns this token. To retrieve the next set of alerts, use it in the subsequent request.
nextToken
- If the response is truncated, SageMaker returns this token. To retrieve the next set of alerts, use it in
the subsequent request.public String getNextToken()
If the response is truncated, SageMaker returns this token. To retrieve the next set of alerts, use it in the subsequent request.
public ListMonitoringAlertsResult withNextToken(String nextToken)
If the response is truncated, SageMaker returns this token. To retrieve the next set of alerts, use it in the subsequent request.
nextToken
- If the response is truncated, SageMaker returns this token. To retrieve the next set of alerts, use it in
the subsequent request.public String toString()
toString
in class Object
Object.toString()
public ListMonitoringAlertsResult clone()