@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) |
String |
getMonitoredResourceName()
The name of the resource being monitored.
|
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 |
setMonitoredResourceName(String monitoredResourceName)
The name of the resource being monitored.
|
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 |
withMonitoredResourceName(String monitoredResourceName)
The name of the resource being monitored.
|
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.ResourcePermission
public String getResourcePermission()
The permission status of a resource.
ResourcePermission
public MonitoredResourceIdentifier withResourcePermission(String resourcePermission)
The permission status of a resource.
resourcePermission
- The permission status of a resource.ResourcePermission
public MonitoredResourceIdentifier withResourcePermission(ResourcePermission resourcePermission)
The permission status of a resource.
resourcePermission
- The permission status of a resource.ResourcePermission
public String toString()
toString
in class Object
Object.toString()
public MonitoredResourceIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.