Class EventResource
- java.lang.Object
-
- software.amazon.awssdk.services.devopsguru.model.EventResource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventResource.Builder,EventResource>
@Generated("software.amazon.awssdk:codegen") public final class EventResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventResource.Builder,EventResource>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventResource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the resource that emitted an event.static EventResource.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the resource that emitted an event.List<SdkField<?>>sdkFields()static Class<? extends EventResource.Builder>serializableBuilderClass()EventResource.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of resource that emitted an event.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
type
public final String type()
The type of resource that emitted an event.
- Returns:
- The type of resource that emitted an event.
-
name
public final String name()
The name of the resource that emitted an event.
- Returns:
- The name of the resource that emitted an event.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the resource that emitted an event.
- Returns:
- The Amazon Resource Name (ARN) of the resource that emitted an event.
-
toBuilder
public EventResource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventResource.Builder,EventResource>
-
builder
public static EventResource.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventResource.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-