ServiceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. support. fluent. models. ServiceProperties
- com.
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 Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
displayName()
Get the display |
|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
| List<String> |
resourceTypes()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Service |
withDisplayName(String displayName)
Set the display |
|
Service |
withResourceTypes(List<String> resourceTypes)
Set the resource |
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:
fromJson
public static ServiceProperties fromJson(JsonReader jsonReader)
Reads an instance of ServiceProperties from the JsonReader.
Parameters:
Returns:
Throws:
resourceTypes
public List<String> resourceTypes()
Get the resourceTypes property: ARM Resource types.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisplayName
public ServiceProperties withDisplayName(String displayName)
Set the displayName property: Localized name of the Azure service.
Parameters:
Returns:
withResourceTypes
public ServiceProperties withResourceTypes(List<String> resourceTypes)
Set the resourceTypes property: ARM Resource types.
Parameters:
Returns: