Class ServerEvent
- java.lang.Object
-
- software.amazon.awssdk.services.opsworkscm.model.ServerEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServerEvent.Builder,ServerEvent>
@Generated("software.amazon.awssdk:codegen") public final class ServerEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServerEvent.Builder,ServerEvent>
An event that is related to the server, such as the start of maintenance or backup.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServerEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServerEvent.Builderbuilder()InstantcreatedAt()The time when the event occurred.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlogUrl()The Amazon S3 URL of the event's log file.Stringmessage()A human-readable informational or status message.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ServerEvent.Builder>serializableBuilderClass()StringserverName()The name of the server on or for which the event occurred.ServerEvent.BuildertoBuilder()StringtoString()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
-
createdAt
public final Instant createdAt()
The time when the event occurred.
- Returns:
- The time when the event occurred.
-
serverName
public final String serverName()
The name of the server on or for which the event occurred.
- Returns:
- The name of the server on or for which the event occurred.
-
message
public final String message()
A human-readable informational or status message.
- Returns:
- A human-readable informational or status message.
-
logUrl
public final String logUrl()
The Amazon S3 URL of the event's log file.
- Returns:
- The Amazon S3 URL of the event's log file.
-
toBuilder
public ServerEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServerEvent.Builder,ServerEvent>
-
builder
public static ServerEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServerEvent.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-