ManagedRGConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.workloadssapvirtualinstance.models.ManagedRGConfiguration

Implements

public final class ManagedRGConfiguration
implements JsonSerializable<ManagedRGConfiguration>

Managed resource group configuration.

Constructor Summary

Constructor Description
ManagedRGConfiguration()

Creates an instance of ManagedRGConfiguration class.

Method Summary

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

Reads an instance of ManagedRGConfiguration from the JsonReader.

String name()

Get the name property: Managed resource group name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedRGConfiguration withName(String name)

Set the name property: Managed resource group name.

Methods inherited from java.lang.Object

Constructor Details

ManagedRGConfiguration

public ManagedRGConfiguration()

Creates an instance of ManagedRGConfiguration class.

Method Details

fromJson

public static ManagedRGConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ManagedRGConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Managed resource group name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withName

public ManagedRGConfiguration withName(String name)

Set the name property: Managed resource group name.

Parameters:

name - the name value to set.

Returns:

the ManagedRGConfiguration object itself.

Applies to