TechnicalTicketDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.support.models.TechnicalTicketDetails

Implements

public final class TechnicalTicketDetails
implements JsonSerializable<TechnicalTicketDetails>

Additional information for technical support ticket.

Constructor Summary

Constructor Description
TechnicalTicketDetails()

Creates an instance of TechnicalTicketDetails class.

Method Summary

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

Reads an instance of TechnicalTicketDetails from the JsonReader.

String resourceId()

Get the resourceId property: This is the resource Id of the Azure service resource (For example: A virtual machine resource or an HDInsight resource) for which the support ticket is created.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TechnicalTicketDetails withResourceId(String resourceId)

Set the resourceId property: This is the resource Id of the Azure service resource (For example: A virtual machine resource or an HDInsight resource) for which the support ticket is created.

Methods inherited from java.lang.Object

Constructor Details

TechnicalTicketDetails

public TechnicalTicketDetails()

Creates an instance of TechnicalTicketDetails class.

Method Details

fromJson

public static TechnicalTicketDetails fromJson(JsonReader jsonReader)

Reads an instance of TechnicalTicketDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

resourceId

public String resourceId()

Get the resourceId property: This is the resource Id of the Azure service resource (For example: A virtual machine resource or an HDInsight resource) for which the support ticket is created.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResourceId

public TechnicalTicketDetails withResourceId(String resourceId)

Set the resourceId property: This is the resource Id of the Azure service resource (For example: A virtual machine resource or an HDInsight resource) for which the support ticket is created.

Parameters:

resourceId - the resourceId value to set.

Returns:

the TechnicalTicketDetails object itself.

Applies to