DatadogLogsAgent Class

  • java.lang.Object
    • com.azure.resourcemanager.datadog.models.DatadogLogsAgent

Implements

public final class DatadogLogsAgent
implements JsonSerializable<DatadogLogsAgent>

The DatadogLogsAgent model.

Constructor Summary

Constructor Description
DatadogLogsAgent()

Creates an instance of DatadogLogsAgent class.

Method Summary

Modifier and Type Method and Description
static DatadogLogsAgent fromJson(JsonReader jsonReader)

Reads an instance of DatadogLogsAgent from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String transport()

Get the transport property: The transport.

void validate()

Validates the instance.

DatadogLogsAgent withTransport(String transport)

Set the transport property: The transport.

Methods inherited from java.lang.Object

Constructor Details

DatadogLogsAgent

public DatadogLogsAgent()

Creates an instance of DatadogLogsAgent class.

Method Details

fromJson

public static DatadogLogsAgent fromJson(JsonReader jsonReader)

Reads an instance of DatadogLogsAgent from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DatadogLogsAgent 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 DatadogLogsAgent.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

transport

public String transport()

Get the transport property: The transport.

Returns:

the transport value.

validate

public void validate()

Validates the instance.

withTransport

public DatadogLogsAgent withTransport(String transport)

Set the transport property: The transport.

Parameters:

transport - the transport value to set.

Returns:

the DatadogLogsAgent object itself.

Applies to