ServiceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.support.fluent.models.ServiceProperties

Implements

public final class ServiceProperties
implements JsonSerializable<ServiceProperties>

Details about an Azure service available for support ticket creation.

Constructor Summary

Constructor Description
ServiceProperties()

Creates an instance of ServiceProperties class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Localized name of the Azure service.

static ServiceProperties fromJson(JsonReader jsonReader)

Reads an instance of ServiceProperties from the JsonReader.

List<String> resourceTypes()

Get the resourceTypes property: ARM Resource types.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServiceProperties withDisplayName(String displayName)

Set the displayName property: Localized name of the Azure service.

ServiceProperties withResourceTypes(List<String> resourceTypes)

Set the resourceTypes property: ARM Resource types.

Methods inherited from java.lang.Object

Constructor Details

ServiceProperties

public ServiceProperties()

Creates an instance of ServiceProperties class.

Method Details

displayName

public String displayName()

Get the displayName property: Localized name of the Azure service.

Returns:

the displayName value.

fromJson

public static ServiceProperties fromJson(JsonReader jsonReader)

Reads an instance of ServiceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

resourceTypes

public List<String> resourceTypes()

Get the resourceTypes property: ARM Resource types.

Returns:

the resourceTypes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisplayName

public ServiceProperties withDisplayName(String displayName)

Set the displayName property: Localized name of the Azure service.

Parameters:

displayName - the displayName value to set.

Returns:

the ServiceProperties object itself.

withResourceTypes

public ServiceProperties withResourceTypes(List<String> resourceTypes)

Set the resourceTypes property: ARM Resource types.

Parameters:

resourceTypes - the resourceTypes value to set.

Returns:

the ServiceProperties object itself.

Applies to