@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlertManagerDefinitionDescription extends Object implements Serializable, Cloneable, StructuredPojo
Represents the properties of an alert manager definition.
Constructor and Description |
---|
AlertManagerDefinitionDescription() |
Modifier and Type | Method and Description |
---|---|
AlertManagerDefinitionDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The time when the alert manager definition was created.
|
ByteBuffer |
getData()
The alert manager definition.
|
Date |
getModifiedAt()
The time when the alert manager definition was modified.
|
AlertManagerDefinitionStatus |
getStatus()
The status of alert manager definition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The time when the alert manager definition was created.
|
void |
setData(ByteBuffer data)
The alert manager definition.
|
void |
setModifiedAt(Date modifiedAt)
The time when the alert manager definition was modified.
|
void |
setStatus(AlertManagerDefinitionStatus status)
The status of alert manager definition.
|
String |
toString()
Returns a string representation of this object.
|
AlertManagerDefinitionDescription |
withCreatedAt(Date createdAt)
The time when the alert manager definition was created.
|
AlertManagerDefinitionDescription |
withData(ByteBuffer data)
The alert manager definition.
|
AlertManagerDefinitionDescription |
withModifiedAt(Date modifiedAt)
The time when the alert manager definition was modified.
|
AlertManagerDefinitionDescription |
withStatus(AlertManagerDefinitionStatus status)
The status of alert manager definition.
|
public void setCreatedAt(Date createdAt)
The time when the alert manager definition was created.
createdAt
- The time when the alert manager definition was created.public Date getCreatedAt()
The time when the alert manager definition was created.
public AlertManagerDefinitionDescription withCreatedAt(Date createdAt)
The time when the alert manager definition was created.
createdAt
- The time when the alert manager definition was created.public void setData(ByteBuffer data)
The alert manager definition.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
data
- The alert manager definition.public ByteBuffer getData()
The alert manager definition.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
public AlertManagerDefinitionDescription withData(ByteBuffer data)
The alert manager definition.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
data
- The alert manager definition.public void setModifiedAt(Date modifiedAt)
The time when the alert manager definition was modified.
modifiedAt
- The time when the alert manager definition was modified.public Date getModifiedAt()
The time when the alert manager definition was modified.
public AlertManagerDefinitionDescription withModifiedAt(Date modifiedAt)
The time when the alert manager definition was modified.
modifiedAt
- The time when the alert manager definition was modified.public void setStatus(AlertManagerDefinitionStatus status)
The status of alert manager definition.
status
- The status of alert manager definition.public AlertManagerDefinitionStatus getStatus()
The status of alert manager definition.
public AlertManagerDefinitionDescription withStatus(AlertManagerDefinitionStatus status)
The status of alert manager definition.
status
- The status of alert manager definition.public String toString()
toString
in class Object
Object.toString()
public AlertManagerDefinitionDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.