@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class HostMuteSettings extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_END |
static String |
JSON_PROPERTY_MESSAGE |
static String |
JSON_PROPERTY_OVERRIDE |
boolean |
unparsed |
| Constructor and Description |
|---|
HostMuteSettings() |
| Modifier and Type | Method and Description |
|---|---|
HostMuteSettings |
end(Long end) |
boolean |
equals(Object o)
Return true if this HostMuteSettings object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getEnd()
POSIX timestamp in seconds when the host is unmuted.
|
String |
getMessage()
Message to associate with the muting of this host.
|
Boolean |
getOverride()
If true and the host is already muted, replaces existing host mute settings.
|
int |
hashCode() |
HostMuteSettings |
message(String message) |
HostMuteSettings |
override(Boolean override) |
HostMuteSettings |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setEnd(Long end) |
void |
setMessage(String message) |
void |
setOverride(Boolean override) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_END
public static final String JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_OVERRIDE
public HostMuteSettings end(Long end)
@Nullable public Long getEnd()
public void setEnd(Long end)
public HostMuteSettings message(String message)
@Nullable public String getMessage()
public void setMessage(String message)
public HostMuteSettings override(Boolean override)
@Nullable public Boolean getOverride()
public void setOverride(Boolean override)
public HostMuteSettings putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.