ServiceInner Class
- java.
lang. Object - com.
azure. resourcemanager. support. fluent. models. ServiceInner
- com.
Implements
public final class ServiceInner
implements JsonSerializable<ServiceInner>
Object that represents a Service resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceInner() |
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 |
| String |
id()
Get the id property: Id of the resource. |
| String |
name()
Get the name property: Name of the resource. |
| List<String> |
resourceTypes()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Type of the resource 'Microsoft. |
| 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
ServiceInner
public ServiceInner()
Creates an instance of ServiceInner class.
Method Details
displayName
public String displayName()
Get the displayName property: Localized name of the Azure service.
Returns:
fromJson
public static ServiceInner fromJson(JsonReader jsonReader)
Reads an instance of ServiceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Id of the resource.
Returns:
name
public String name()
Get the name property: Name of the resource.
Returns:
resourceTypes
public List<String> resourceTypes()
Get the resourceTypes property: ARM Resource types.
Returns:
toJson
type
public String type()
Get the type property: Type of the resource 'Microsoft.Support/services'.
Returns:
validate
public void validate()
Validates the instance.
withDisplayName
public ServiceInner withDisplayName(String displayName)
Set the displayName property: Localized name of the Azure service.
Parameters:
Returns:
withResourceTypes
public ServiceInner withResourceTypes(List<String> resourceTypes)
Set the resourceTypes property: ARM Resource types.
Parameters:
Returns: