@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlertManagerDefinitionDescription extends Object implements Serializable, Cloneable, StructuredPojo
The details of an alert manager definition.
Constructor and Description |
---|
AlertManagerDefinitionDescription() |
Modifier and Type | Method and Description |
---|---|
AlertManagerDefinitionDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The date and time that the alert manager definition was created.
|
ByteBuffer |
getData()
The actual alert manager definition.
|
Date |
getModifiedAt()
The date and time that the alert manager definition was most recently changed.
|
AlertManagerDefinitionStatus |
getStatus()
A structure that displays the current status of the alert manager definition..
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The date and time that the alert manager definition was created.
|
void |
setData(ByteBuffer data)
The actual alert manager definition.
|
void |
setModifiedAt(Date modifiedAt)
The date and time that the alert manager definition was most recently changed.
|
void |
setStatus(AlertManagerDefinitionStatus status)
A structure that displays the current status of the alert manager definition..
|
String |
toString()
Returns a string representation of this object.
|
AlertManagerDefinitionDescription |
withCreatedAt(Date createdAt)
The date and time that the alert manager definition was created.
|
AlertManagerDefinitionDescription |
withData(ByteBuffer data)
The actual alert manager definition.
|
AlertManagerDefinitionDescription |
withModifiedAt(Date modifiedAt)
The date and time that the alert manager definition was most recently changed.
|
AlertManagerDefinitionDescription |
withStatus(AlertManagerDefinitionStatus status)
A structure that displays the current status of the alert manager definition..
|
public void setCreatedAt(Date createdAt)
The date and time that the alert manager definition was created.
createdAt
- The date and time that the alert manager definition was created.public Date getCreatedAt()
The date and time that the alert manager definition was created.
public AlertManagerDefinitionDescription withCreatedAt(Date createdAt)
The date and time that the alert manager definition was created.
createdAt
- The date and time that the alert manager definition was created.public void setData(ByteBuffer data)
The actual alert manager definition.
For details about the alert manager definition, see AlertManagedDefinitionData.
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 actual alert manager definition.
For details about the alert manager definition, see AlertManagedDefinitionData.
public ByteBuffer getData()
The actual alert manager definition.
For details about the alert manager definition, see AlertManagedDefinitionData.
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
.
For details about the alert manager definition, see AlertManagedDefinitionData.
public AlertManagerDefinitionDescription withData(ByteBuffer data)
The actual alert manager definition.
For details about the alert manager definition, see AlertManagedDefinitionData.
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 actual alert manager definition.
For details about the alert manager definition, see AlertManagedDefinitionData.
public void setModifiedAt(Date modifiedAt)
The date and time that the alert manager definition was most recently changed.
modifiedAt
- The date and time that the alert manager definition was most recently changed.public Date getModifiedAt()
The date and time that the alert manager definition was most recently changed.
public AlertManagerDefinitionDescription withModifiedAt(Date modifiedAt)
The date and time that the alert manager definition was most recently changed.
modifiedAt
- The date and time that the alert manager definition was most recently changed.public void setStatus(AlertManagerDefinitionStatus status)
A structure that displays the current status of the alert manager definition..
status
- A structure that displays the current status of the alert manager definition..public AlertManagerDefinitionStatus getStatus()
A structure that displays the current status of the alert manager definition..
public AlertManagerDefinitionDescription withStatus(AlertManagerDefinitionStatus status)
A structure that displays the current status of the alert manager definition..
status
- A structure that displays the current status of the 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.