@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomEvents extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains information about custom events for this app monitor.
Constructor and Description |
---|
CustomEvents() |
Modifier and Type | Method and Description |
---|---|
CustomEvents |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
Specifies whether this app monitor allows the web client to define and send custom events.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatus(String status)
Specifies whether this app monitor allows the web client to define and send custom events.
|
String |
toString()
Returns a string representation of this object.
|
CustomEvents |
withStatus(CustomEventsStatus status)
Specifies whether this app monitor allows the web client to define and send custom events.
|
CustomEvents |
withStatus(String status)
Specifies whether this app monitor allows the web client to define and send custom events.
|
public void setStatus(String status)
Specifies whether this app monitor allows the web client to define and send custom events. The default is for
custom events to be DISABLED
.
status
- Specifies whether this app monitor allows the web client to define and send custom events. The default is
for custom events to be DISABLED
.CustomEventsStatus
public String getStatus()
Specifies whether this app monitor allows the web client to define and send custom events. The default is for
custom events to be DISABLED
.
DISABLED
.CustomEventsStatus
public CustomEvents withStatus(String status)
Specifies whether this app monitor allows the web client to define and send custom events. The default is for
custom events to be DISABLED
.
status
- Specifies whether this app monitor allows the web client to define and send custom events. The default is
for custom events to be DISABLED
.CustomEventsStatus
public CustomEvents withStatus(CustomEventsStatus status)
Specifies whether this app monitor allows the web client to define and send custom events. The default is for
custom events to be DISABLED
.
status
- Specifies whether this app monitor allows the web client to define and send custom events. The default is
for custom events to be DISABLED
.CustomEventsStatus
public String toString()
toString
in class Object
Object.toString()
public CustomEvents clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.