ManagementAssociationProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.operationsmanagement.models.ManagementAssociationProperties

Implements

public final class ManagementAssociationProperties
implements JsonSerializable<ManagementAssociationProperties>

ManagementAssociation properties supported by the OperationsManagement resource provider.

Constructor Summary

Constructor Description
ManagementAssociationProperties()

Creates an instance of ManagementAssociationProperties class.

Method Summary

Modifier and Type Method and Description
String applicationId()

Get the applicationId property: The applicationId of the appliance for this association.

static ManagementAssociationProperties fromJson(JsonReader jsonReader)

Reads an instance of ManagementAssociationProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagementAssociationProperties withApplicationId(String applicationId)

Set the applicationId property: The applicationId of the appliance for this association.

Methods inherited from java.lang.Object

Constructor Details

ManagementAssociationProperties

public ManagementAssociationProperties()

Creates an instance of ManagementAssociationProperties class.

Method Details

applicationId

public String applicationId()

Get the applicationId property: The applicationId of the appliance for this association.

Returns:

the applicationId value.

fromJson

public static ManagementAssociationProperties fromJson(JsonReader jsonReader)

Reads an instance of ManagementAssociationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withApplicationId

public ManagementAssociationProperties withApplicationId(String applicationId)

Set the applicationId property: The applicationId of the appliance for this association.

Parameters:

applicationId - the applicationId value to set.

Returns:

the ManagementAssociationProperties object itself.

Applies to