@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMonitorResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMonitorResult() |
Modifier and Type | Method and Description |
---|---|
GetMonitorResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetMonitorResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetMonitorResult |
clone() |
boolean |
equals(Object obj) |
Long |
getAggregationPeriod()
The aggregation period for the specified monitor.
|
Date |
getCreatedAt()
The time and date when the monitor was created.
|
Date |
getModifiedAt()
The time and date when the monitor was last modified.
|
String |
getMonitorArn()
The ARN of the selected monitor.
|
String |
getMonitorName()
The name of the monitor.
|
List<Probe> |
getProbes()
The details about each probe associated with that monitor.
|
String |
getState()
Lists the status of the
state of each monitor. |
Map<String,String> |
getTags()
The list of key-value pairs assigned to the monitor.
|
int |
hashCode() |
void |
setAggregationPeriod(Long aggregationPeriod)
The aggregation period for the specified monitor.
|
void |
setCreatedAt(Date createdAt)
The time and date when the monitor was created.
|
void |
setModifiedAt(Date modifiedAt)
The time and date when the monitor was last modified.
|
void |
setMonitorArn(String monitorArn)
The ARN of the selected monitor.
|
void |
setMonitorName(String monitorName)
The name of the monitor.
|
void |
setProbes(Collection<Probe> probes)
The details about each probe associated with that monitor.
|
void |
setState(String state)
Lists the status of the
state of each monitor. |
void |
setTags(Map<String,String> tags)
The list of key-value pairs assigned to the monitor.
|
String |
toString()
Returns a string representation of this object.
|
GetMonitorResult |
withAggregationPeriod(Long aggregationPeriod)
The aggregation period for the specified monitor.
|
GetMonitorResult |
withCreatedAt(Date createdAt)
The time and date when the monitor was created.
|
GetMonitorResult |
withModifiedAt(Date modifiedAt)
The time and date when the monitor was last modified.
|
GetMonitorResult |
withMonitorArn(String monitorArn)
The ARN of the selected monitor.
|
GetMonitorResult |
withMonitorName(String monitorName)
The name of the monitor.
|
GetMonitorResult |
withProbes(Collection<Probe> probes)
The details about each probe associated with that monitor.
|
GetMonitorResult |
withProbes(Probe... probes)
The details about each probe associated with that monitor.
|
GetMonitorResult |
withState(MonitorState state)
Lists the status of the
state of each monitor. |
GetMonitorResult |
withState(String state)
Lists the status of the
state of each monitor. |
GetMonitorResult |
withTags(Map<String,String> tags)
The list of key-value pairs assigned to the monitor.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMonitorArn(String monitorArn)
The ARN of the selected monitor.
monitorArn
- The ARN of the selected monitor.public String getMonitorArn()
The ARN of the selected monitor.
public GetMonitorResult withMonitorArn(String monitorArn)
The ARN of the selected monitor.
monitorArn
- The ARN of the selected monitor.public void setMonitorName(String monitorName)
The name of the monitor.
monitorName
- The name of the monitor.public String getMonitorName()
The name of the monitor.
public GetMonitorResult withMonitorName(String monitorName)
The name of the monitor.
monitorName
- The name of the monitor.public void setState(String state)
Lists the status of the state
of each monitor.
state
- Lists the status of the state
of each monitor.MonitorState
public String getState()
Lists the status of the state
of each monitor.
state
of each monitor.MonitorState
public GetMonitorResult withState(String state)
Lists the status of the state
of each monitor.
state
- Lists the status of the state
of each monitor.MonitorState
public GetMonitorResult withState(MonitorState state)
Lists the status of the state
of each monitor.
state
- Lists the status of the state
of each monitor.MonitorState
public void setAggregationPeriod(Long aggregationPeriod)
The aggregation period for the specified monitor.
aggregationPeriod
- The aggregation period for the specified monitor.public Long getAggregationPeriod()
The aggregation period for the specified monitor.
public GetMonitorResult withAggregationPeriod(Long aggregationPeriod)
The aggregation period for the specified monitor.
aggregationPeriod
- The aggregation period for the specified monitor.public Map<String,String> getTags()
The list of key-value pairs assigned to the monitor.
public void setTags(Map<String,String> tags)
The list of key-value pairs assigned to the monitor.
tags
- The list of key-value pairs assigned to the monitor.public GetMonitorResult withTags(Map<String,String> tags)
The list of key-value pairs assigned to the monitor.
tags
- The list of key-value pairs assigned to the monitor.public GetMonitorResult addTagsEntry(String key, String value)
public GetMonitorResult clearTagsEntries()
public List<Probe> getProbes()
The details about each probe associated with that monitor.
public void setProbes(Collection<Probe> probes)
The details about each probe associated with that monitor.
probes
- The details about each probe associated with that monitor.public GetMonitorResult withProbes(Probe... probes)
The details about each probe associated with that monitor.
NOTE: This method appends the values to the existing list (if any). Use
setProbes(java.util.Collection)
or withProbes(java.util.Collection)
if you want to override the
existing values.
probes
- The details about each probe associated with that monitor.public GetMonitorResult withProbes(Collection<Probe> probes)
The details about each probe associated with that monitor.
probes
- The details about each probe associated with that monitor.public void setCreatedAt(Date createdAt)
The time and date when the monitor was created.
createdAt
- The time and date when the monitor was created.public Date getCreatedAt()
The time and date when the monitor was created.
public GetMonitorResult withCreatedAt(Date createdAt)
The time and date when the monitor was created.
createdAt
- The time and date when the monitor was created.public void setModifiedAt(Date modifiedAt)
The time and date when the monitor was last modified.
modifiedAt
- The time and date when the monitor was last modified.public Date getModifiedAt()
The time and date when the monitor was last modified.
public GetMonitorResult withModifiedAt(Date modifiedAt)
The time and date when the monitor was last modified.
modifiedAt
- The time and date when the monitor was last modified.public String toString()
toString
in class Object
Object.toString()
public GetMonitorResult clone()