@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsArchiveCreateRequestDestination extends AbstractOpenApiSchema
| Modifier and Type | Class and Description |
|---|---|
static class |
LogsArchiveCreateRequestDestination.LogsArchiveCreateRequestDestinationDeserializer |
static class |
LogsArchiveCreateRequestDestination.LogsArchiveCreateRequestDestinationSerializer |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,jakarta.ws.rs.core.GenericType> |
schemas |
boolean |
unparsed |
| Constructor and Description |
|---|
LogsArchiveCreateRequestDestination() |
LogsArchiveCreateRequestDestination(LogsArchiveDestinationAzure o) |
LogsArchiveCreateRequestDestination(LogsArchiveDestinationGCS o) |
LogsArchiveCreateRequestDestination(LogsArchiveDestinationS3 o) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getActualInstance()
Get the actual instance, which can be the following: LogsArchiveDestinationAzure,
LogsArchiveDestinationGCS, LogsArchiveDestinationS3
|
LogsArchiveDestinationAzure |
getLogsArchiveDestinationAzure()
Get the actual instance of `LogsArchiveDestinationAzure`.
|
LogsArchiveDestinationGCS |
getLogsArchiveDestinationGCS()
Get the actual instance of `LogsArchiveDestinationGCS`.
|
LogsArchiveDestinationS3 |
getLogsArchiveDestinationS3()
Get the actual instance of `LogsArchiveDestinationS3`.
|
Map<String,jakarta.ws.rs.core.GenericType> |
getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
|
void |
setActualInstance(Object instance)
Set the instance that matches the oneOf child schema, check the instance parameter is valid
against the oneOf child schemas: LogsArchiveDestinationAzure, LogsArchiveDestinationGCS,
LogsArchiveDestinationS3
|
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toStringpublic LogsArchiveCreateRequestDestination()
public LogsArchiveCreateRequestDestination(LogsArchiveDestinationAzure o)
public LogsArchiveCreateRequestDestination(LogsArchiveDestinationGCS o)
public LogsArchiveCreateRequestDestination(LogsArchiveDestinationS3 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 LogsArchiveDestinationAzure getLogsArchiveDestinationAzure() throws ClassCastException
ClassCastException - if the instance is not `LogsArchiveDestinationAzure`public LogsArchiveDestinationGCS getLogsArchiveDestinationGCS() throws ClassCastException
ClassCastException - if the instance is not `LogsArchiveDestinationGCS`public LogsArchiveDestinationS3 getLogsArchiveDestinationS3() throws ClassCastException
ClassCastException - if the instance is not `LogsArchiveDestinationS3`Copyright © 2024. All rights reserved.