DataCollectionEndpointLogsIngestion Class

public final class DataCollectionEndpointLogsIngestion
extends LogsIngestionEndpointSpec

The endpoint used by clients to ingest logs.

Constructor Summary

Constructor Description
DataCollectionEndpointLogsIngestion()

Creates an instance of DataCollectionEndpointLogsIngestion class.

Method Summary

Modifier and Type Method and Description
String endpoint()

Get the endpoint property: The endpoint.

static DataCollectionEndpointLogsIngestion fromJson(JsonReader jsonReader)

Reads an instance of DataCollectionEndpointLogsIngestion from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from LogsIngestionEndpointSpec

Methods inherited from java.lang.Object

Constructor Details

DataCollectionEndpointLogsIngestion

public DataCollectionEndpointLogsIngestion()

Creates an instance of DataCollectionEndpointLogsIngestion class.

Method Details

endpoint

public String endpoint()

Get the endpoint property: The endpoint. This property is READ-ONLY.

Overrides:

DataCollectionEndpointLogsIngestion.endpoint()

Returns:

the endpoint value.

fromJson

public static DataCollectionEndpointLogsIngestion fromJson(JsonReader jsonReader)

Reads an instance of DataCollectionEndpointLogsIngestion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataCollectionEndpointLogsIngestion if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DataCollectionEndpointLogsIngestion.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataCollectionEndpointLogsIngestion.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DataCollectionEndpointLogsIngestion.validate()

Applies to