@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MonitoredResourceIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.
| Constructor and Description |
|---|
MonitoredResourceIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
MonitoredResourceIdentifier |
clone() |
boolean |
equals(Object obj) |
Date |
getLastUpdated()
The time at which DevOps Guru last updated this resource.
|
String |
getMonitoredResourceName()
The name of the resource being monitored.
|
ResourceCollection |
getResourceCollection() |
String |
getResourcePermission()
The permission status of a resource.
|
String |
getType()
The type of resource being monitored.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLastUpdated(Date lastUpdated)
The time at which DevOps Guru last updated this resource.
|
void |
setMonitoredResourceName(String monitoredResourceName)
The name of the resource being monitored.
|
void |
setResourceCollection(ResourceCollection resourceCollection) |
void |
setResourcePermission(String resourcePermission)
The permission status of a resource.
|
void |
setType(String type)
The type of resource being monitored.
|
String |
toString()
Returns a string representation of this object.
|
MonitoredResourceIdentifier |
withLastUpdated(Date lastUpdated)
The time at which DevOps Guru last updated this resource.
|
MonitoredResourceIdentifier |
withMonitoredResourceName(String monitoredResourceName)
The name of the resource being monitored.
|
MonitoredResourceIdentifier |
withResourceCollection(ResourceCollection resourceCollection) |
MonitoredResourceIdentifier |
withResourcePermission(ResourcePermission resourcePermission)
The permission status of a resource.
|
MonitoredResourceIdentifier |
withResourcePermission(String resourcePermission)
The permission status of a resource.
|
MonitoredResourceIdentifier |
withType(String type)
The type of resource being monitored.
|
public void setMonitoredResourceName(String monitoredResourceName)
The name of the resource being monitored.
monitoredResourceName - The name of the resource being monitored.public String getMonitoredResourceName()
The name of the resource being monitored.
public MonitoredResourceIdentifier withMonitoredResourceName(String monitoredResourceName)
The name of the resource being monitored.
monitoredResourceName - The name of the resource being monitored.public void setType(String type)
The type of resource being monitored.
type - The type of resource being monitored.public String getType()
The type of resource being monitored.
public MonitoredResourceIdentifier withType(String type)
The type of resource being monitored.
type - The type of resource being monitored.public void setResourcePermission(String resourcePermission)
The permission status of a resource.
resourcePermission - The permission status of a resource.ResourcePermissionpublic String getResourcePermission()
The permission status of a resource.
ResourcePermissionpublic MonitoredResourceIdentifier withResourcePermission(String resourcePermission)
The permission status of a resource.
resourcePermission - The permission status of a resource.ResourcePermissionpublic MonitoredResourceIdentifier withResourcePermission(ResourcePermission resourcePermission)
The permission status of a resource.
resourcePermission - The permission status of a resource.ResourcePermissionpublic void setLastUpdated(Date lastUpdated)
The time at which DevOps Guru last updated this resource.
lastUpdated - The time at which DevOps Guru last updated this resource.public Date getLastUpdated()
The time at which DevOps Guru last updated this resource.
public MonitoredResourceIdentifier withLastUpdated(Date lastUpdated)
The time at which DevOps Guru last updated this resource.
lastUpdated - The time at which DevOps Guru last updated this resource.public void setResourceCollection(ResourceCollection resourceCollection)
resourceCollection - public ResourceCollection getResourceCollection()
public MonitoredResourceIdentifier withResourceCollection(ResourceCollection resourceCollection)
resourceCollection - public String toString()
toString in class ObjectObject.toString()public MonitoredResourceIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.