StructuredPojo
, ToCopyableBuilder<ServerEvent.Builder,ServerEvent>
@Generated("software.amazon.awssdk:codegen") public class ServerEvent extends Object implements StructuredPojo, ToCopyableBuilder<ServerEvent.Builder,ServerEvent>
An event that is related to the server, such as the start of maintenance or backup.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ServerEvent.Builder |
Modifier and Type | Method | Description |
---|---|---|
static ServerEvent.Builder |
builder() |
|
Date |
createdAt() |
The time when the event occurred.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
logUrl() |
The Amazon S3 URL of the event's log file.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message() |
A human-readable informational or status message.
|
static Class<? extends ServerEvent.Builder> |
serializableBuilderClass() |
|
String |
serverName() |
The name of the server on or for which the event occurred.
|
ServerEvent.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Date createdAt()
The time when the event occurred.
public String serverName()
The name of the server on or for which the event occurred.
public String message()
A human-readable informational or status message.
public String logUrl()
The Amazon S3 URL of the event's log file.
public ServerEvent.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ServerEvent.Builder,ServerEvent>
public static ServerEvent.Builder builder()
public static Class<? extends ServerEvent.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.