@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventResource extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon Web Services resource that emitted an event. Amazon Web Services resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.
Constructor and Description |
---|
EventResource() |
Modifier and Type | Method and Description |
---|---|
EventResource |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the resource that emitted an event.
|
String |
getName()
The name of the resource that emitted an event.
|
String |
getType()
The type of resource that emitted an event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the resource that emitted an event.
|
void |
setName(String name)
The name of the resource that emitted an event.
|
void |
setType(String type)
The type of resource that emitted an event.
|
String |
toString()
Returns a string representation of this object.
|
EventResource |
withArn(String arn)
The Amazon Resource Name (ARN) of the resource that emitted an event.
|
EventResource |
withName(String name)
The name of the resource that emitted an event.
|
EventResource |
withType(String type)
The type of resource that emitted an event.
|
public void setType(String type)
The type of resource that emitted an event.
type
- The type of resource that emitted an event.public String getType()
The type of resource that emitted an event.
public EventResource withType(String type)
The type of resource that emitted an event.
type
- The type of resource that emitted an event.public void setName(String name)
The name of the resource that emitted an event.
name
- The name of the resource that emitted an event.public String getName()
The name of the resource that emitted an event.
public EventResource withName(String name)
The name of the resource that emitted an event.
name
- The name of the resource that emitted an event.public void setArn(String arn)
The Amazon Resource Name (ARN) of the resource that emitted an event.
arn
- The Amazon Resource Name (ARN) of the resource that emitted an event.public String getArn()
The Amazon Resource Name (ARN) of the resource that emitted an event.
public EventResource withArn(String arn)
The Amazon Resource Name (ARN) of the resource that emitted an event.
arn
- The Amazon Resource Name (ARN) of the resource that emitted an event.public String toString()
toString
in class Object
Object.toString()
public EventResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.