@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MonitorSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides a summary of the monitor properties used in the ListMonitors operation. To get a complete set of
properties, call the DescribeMonitor operation, and provide the listed MonitorArn
.
Constructor and Description |
---|
MonitorSummary() |
Modifier and Type | Method and Description |
---|---|
MonitorSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
When the monitor resource was created.
|
Date |
getLastModificationTime()
The last time the monitor resource was modified.
|
String |
getMonitorArn()
The Amazon Resource Name (ARN) of the monitor resource.
|
String |
getMonitorName()
The name of the monitor resource.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the predictor being monitored.
|
String |
getStatus()
The status of the monitor.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
When the monitor resource was created.
|
void |
setLastModificationTime(Date lastModificationTime)
The last time the monitor resource was modified.
|
void |
setMonitorArn(String monitorArn)
The Amazon Resource Name (ARN) of the monitor resource.
|
void |
setMonitorName(String monitorName)
The name of the monitor resource.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the predictor being monitored.
|
void |
setStatus(String status)
The status of the monitor.
|
String |
toString()
Returns a string representation of this object.
|
MonitorSummary |
withCreationTime(Date creationTime)
When the monitor resource was created.
|
MonitorSummary |
withLastModificationTime(Date lastModificationTime)
The last time the monitor resource was modified.
|
MonitorSummary |
withMonitorArn(String monitorArn)
The Amazon Resource Name (ARN) of the monitor resource.
|
MonitorSummary |
withMonitorName(String monitorName)
The name of the monitor resource.
|
MonitorSummary |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the predictor being monitored.
|
MonitorSummary |
withStatus(String status)
The status of the monitor.
|
public void setMonitorArn(String monitorArn)
The Amazon Resource Name (ARN) of the monitor resource.
monitorArn
- The Amazon Resource Name (ARN) of the monitor resource.public String getMonitorArn()
The Amazon Resource Name (ARN) of the monitor resource.
public MonitorSummary withMonitorArn(String monitorArn)
The Amazon Resource Name (ARN) of the monitor resource.
monitorArn
- The Amazon Resource Name (ARN) of the monitor resource.public void setMonitorName(String monitorName)
The name of the monitor resource.
monitorName
- The name of the monitor resource.public String getMonitorName()
The name of the monitor resource.
public MonitorSummary withMonitorName(String monitorName)
The name of the monitor resource.
monitorName
- The name of the monitor resource.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the predictor being monitored.
resourceArn
- The Amazon Resource Name (ARN) of the predictor being monitored.public String getResourceArn()
The Amazon Resource Name (ARN) of the predictor being monitored.
public MonitorSummary withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the predictor being monitored.
resourceArn
- The Amazon Resource Name (ARN) of the predictor being monitored.public void setStatus(String status)
The status of the monitor. States include:
ACTIVE
ACTIVE_STOPPING
, ACTIVE_STOPPED
UPDATE_IN_PROGRESS
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
status
- The status of the monitor. States include:
ACTIVE
ACTIVE_STOPPING
, ACTIVE_STOPPED
UPDATE_IN_PROGRESS
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
public String getStatus()
The status of the monitor. States include:
ACTIVE
ACTIVE_STOPPING
, ACTIVE_STOPPED
UPDATE_IN_PROGRESS
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
ACTIVE
ACTIVE_STOPPING
, ACTIVE_STOPPED
UPDATE_IN_PROGRESS
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
public MonitorSummary withStatus(String status)
The status of the monitor. States include:
ACTIVE
ACTIVE_STOPPING
, ACTIVE_STOPPED
UPDATE_IN_PROGRESS
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
status
- The status of the monitor. States include:
ACTIVE
ACTIVE_STOPPING
, ACTIVE_STOPPED
UPDATE_IN_PROGRESS
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
public void setCreationTime(Date creationTime)
When the monitor resource was created.
creationTime
- When the monitor resource was created.public Date getCreationTime()
When the monitor resource was created.
public MonitorSummary withCreationTime(Date creationTime)
When the monitor resource was created.
creationTime
- When the monitor resource was created.public void setLastModificationTime(Date lastModificationTime)
The last time the monitor resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
STOPPED
- When the resource stopped.
ACTIVE
or CREATE_FAILED
- When the monitor creation finished or failed.
lastModificationTime
- The last time the monitor resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
STOPPED
- When the resource stopped.
ACTIVE
or CREATE_FAILED
- When the monitor creation finished or failed.
public Date getLastModificationTime()
The last time the monitor resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
STOPPED
- When the resource stopped.
ACTIVE
or CREATE_FAILED
- When the monitor creation finished or failed.
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
STOPPED
- When the resource stopped.
ACTIVE
or CREATE_FAILED
- When the monitor creation finished or failed.
public MonitorSummary withLastModificationTime(Date lastModificationTime)
The last time the monitor resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
STOPPED
- When the resource stopped.
ACTIVE
or CREATE_FAILED
- When the monitor creation finished or failed.
lastModificationTime
- The last time the monitor resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.
CREATE_IN_PROGRESS
- The current timestamp.
STOPPED
- When the resource stopped.
ACTIVE
or CREATE_FAILED
- When the monitor creation finished or failed.
public String toString()
toString
in class Object
Object.toString()
public MonitorSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.