@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerEvent extends Object implements Serializable, Cloneable, StructuredPojo
An event that is related to the server, such as the start of maintenance or backup.
Constructor and Description |
---|
ServerEvent() |
Modifier and Type | Method and Description |
---|---|
ServerEvent |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The time when the event occurred.
|
String |
getLogUrl()
The Amazon S3 URL of the event's log file.
|
String |
getMessage()
A human-readable informational or status message.
|
String |
getServerName()
The name of the server on or for which the event occurred.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The time when the event occurred.
|
void |
setLogUrl(String logUrl)
The Amazon S3 URL of the event's log file.
|
void |
setMessage(String message)
A human-readable informational or status message.
|
void |
setServerName(String serverName)
The name of the server on or for which the event occurred.
|
String |
toString()
Returns a string representation of this object.
|
ServerEvent |
withCreatedAt(Date createdAt)
The time when the event occurred.
|
ServerEvent |
withLogUrl(String logUrl)
The Amazon S3 URL of the event's log file.
|
ServerEvent |
withMessage(String message)
A human-readable informational or status message.
|
ServerEvent |
withServerName(String serverName)
The name of the server on or for which the event occurred.
|
public void setCreatedAt(Date createdAt)
The time when the event occurred.
createdAt
- The time when the event occurred.public Date getCreatedAt()
The time when the event occurred.
public ServerEvent withCreatedAt(Date createdAt)
The time when the event occurred.
createdAt
- The time when the event occurred.public void setServerName(String serverName)
The name of the server on or for which the event occurred.
serverName
- The name of the server on or for which the event occurred.public String getServerName()
The name of the server on or for which the event occurred.
public ServerEvent withServerName(String serverName)
The name of the server on or for which the event occurred.
serverName
- The name of the server on or for which the event occurred.public void setMessage(String message)
A human-readable informational or status message.
message
- A human-readable informational or status message.public String getMessage()
A human-readable informational or status message.
public ServerEvent withMessage(String message)
A human-readable informational or status message.
message
- A human-readable informational or status message.public void setLogUrl(String logUrl)
The Amazon S3 URL of the event's log file.
logUrl
- The Amazon S3 URL of the event's log file.public String getLogUrl()
The Amazon S3 URL of the event's log file.
public ServerEvent withLogUrl(String logUrl)
The Amazon S3 URL of the event's log file.
logUrl
- The Amazon S3 URL of the event's log file.public String toString()
toString
in class Object
Object.toString()
public ServerEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.