Class ServiceEvent
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.ServiceEvent
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ServiceEvent.Builder,ServiceEvent>
@Generated("software.amazon.awssdk:codegen") public final class ServiceEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceEvent.Builder,ServiceEvent>
The details for an event that's associated with a service.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ServiceEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceEvent.Builder
builder()
Instant
createdAt()
The Unix timestamp for the time when the event was triggered.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
id()
The ID string for the event.String
message()
The event message.List<SdkField<?>>
sdkFields()
static Class<? extends ServiceEvent.Builder>
serializableBuilderClass()
ServiceEvent.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
id
public final String id()
The ID string for the event.
- Returns:
- The ID string for the event.
-
createdAt
public final Instant createdAt()
The Unix timestamp for the time when the event was triggered.
- Returns:
- The Unix timestamp for the time when the event was triggered.
-
message
public final String message()
The event message.
- Returns:
- The event message.
-
toBuilder
public ServiceEvent.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ServiceEvent.Builder,ServiceEvent>
-
builder
public static ServiceEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceEvent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-