DRANETProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.DRANETProfile

Implements

public final class DRANETProfile
implements JsonSerializable<DRANETProfile>

DRANET settings of an agent pool.

Constructor Summary

Constructor Description
DRANETProfile()

Creates an instance of DRANETProfile class.

Method Summary

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

Reads an instance of DRANETProfile from the JsonReader.

DRANETMode mode()

Get the mode property: The DRANET mode for the agent pool.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DRANETProfile withMode(DRANETMode mode)

Set the mode property: The DRANET mode for the agent pool.

Methods inherited from java.lang.Object

Constructor Details

DRANETProfile

public DRANETProfile()

Creates an instance of DRANETProfile class.

Method Details

fromJson

public static DRANETProfile fromJson(JsonReader jsonReader)

Reads an instance of DRANETProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

mode

public DRANETMode mode()

Get the mode property: The DRANET mode for the agent pool.

Returns:

the mode value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withMode

public DRANETProfile withMode(DRANETMode mode)

Set the mode property: The DRANET mode for the agent pool.

Parameters:

mode - the mode value to set.

Returns:

the DRANETProfile object itself.

Applies to