DatadogInstallMethod Class

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

Implements

public final class DatadogInstallMethod
implements JsonSerializable<DatadogInstallMethod>

The DatadogInstallMethod model.

Constructor Summary

Constructor Description
DatadogInstallMethod()

Creates an instance of DatadogInstallMethod class.

Method Summary

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

Reads an instance of DatadogInstallMethod from the JsonReader.

String installerVersion()

Get the installerVersion property: The installer version.

JsonWriter toJson(JsonWriter jsonWriter)
String tool()

Get the tool property: The tool.

String toolVersion()

Get the toolVersion property: The tool version.

void validate()

Validates the instance.

DatadogInstallMethod withInstallerVersion(String installerVersion)

Set the installerVersion property: The installer version.

DatadogInstallMethod withTool(String tool)

Set the tool property: The tool.

DatadogInstallMethod withToolVersion(String toolVersion)

Set the toolVersion property: The tool version.

Methods inherited from java.lang.Object

Constructor Details

DatadogInstallMethod

public DatadogInstallMethod()

Creates an instance of DatadogInstallMethod class.

Method Details

fromJson

public static DatadogInstallMethod fromJson(JsonReader jsonReader)

Reads an instance of DatadogInstallMethod from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

installerVersion

public String installerVersion()

Get the installerVersion property: The installer version.

Returns:

the installerVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

tool

public String tool()

Get the tool property: The tool.

Returns:

the tool value.

toolVersion

public String toolVersion()

Get the toolVersion property: The tool version.

Returns:

the toolVersion value.

validate

public void validate()

Validates the instance.

withInstallerVersion

public DatadogInstallMethod withInstallerVersion(String installerVersion)

Set the installerVersion property: The installer version.

Parameters:

installerVersion - the installerVersion value to set.

Returns:

the DatadogInstallMethod object itself.

withTool

public DatadogInstallMethod withTool(String tool)

Set the tool property: The tool.

Parameters:

tool - the tool value to set.

Returns:

the DatadogInstallMethod object itself.

withToolVersion

public DatadogInstallMethod withToolVersion(String toolVersion)

Set the toolVersion property: The tool version.

Parameters:

toolVersion - the toolVersion value to set.

Returns:

the DatadogInstallMethod object itself.

Applies to