@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CloudWorkloadSecurityAgentRuleActionSetValue extends AbstractOpenApiSchema
| Modifier and Type | Class and Description |
|---|---|
static class |
CloudWorkloadSecurityAgentRuleActionSetValue.CloudWorkloadSecurityAgentRuleActionSetValueDeserializer |
static class |
CloudWorkloadSecurityAgentRuleActionSetValue.CloudWorkloadSecurityAgentRuleActionSetValueSerializer |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,jakarta.ws.rs.core.GenericType> |
schemas |
boolean |
unparsed |
| Constructor and Description |
|---|
CloudWorkloadSecurityAgentRuleActionSetValue() |
CloudWorkloadSecurityAgentRuleActionSetValue(Boolean o) |
CloudWorkloadSecurityAgentRuleActionSetValue(Integer o) |
CloudWorkloadSecurityAgentRuleActionSetValue(String o) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getActualInstance()
Get the actual instance, which can be the following: String, Integer, Boolean
|
Boolean |
getBoolean()
Get the actual instance of `Boolean`.
|
Integer |
getInteger()
Get the actual instance of `Integer`.
|
Map<String,jakarta.ws.rs.core.GenericType> |
getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
|
String |
getString()
Get the actual instance of `String`.
|
void |
setActualInstance(Object instance)
Set the instance that matches the oneOf child schema, check the instance parameter is valid
against the oneOf child schemas: String, Integer, Boolean
|
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toStringpublic CloudWorkloadSecurityAgentRuleActionSetValue()
public CloudWorkloadSecurityAgentRuleActionSetValue(String o)
public CloudWorkloadSecurityAgentRuleActionSetValue(Integer o)
public CloudWorkloadSecurityAgentRuleActionSetValue(Boolean o)
public Map<String,jakarta.ws.rs.core.GenericType> getSchemas()
AbstractOpenApiSchemagetSchemas in class AbstractOpenApiSchemapublic void setActualInstance(Object instance)
It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf).
setActualInstance in class AbstractOpenApiSchemainstance - the actual instance of the schema/objectpublic Object getActualInstance()
getActualInstance in class AbstractOpenApiSchemapublic String getString() throws ClassCastException
ClassCastException - if the instance is not `String`public Integer getInteger() throws ClassCastException
ClassCastException - if the instance is not `Integer`public Boolean getBoolean() throws ClassCastException
ClassCastException - if the instance is not `Boolean`Copyright © 2026. All rights reserved.