SettableResource Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. SettableResource
- com.
Implements
public class SettableResource
implements JsonSerializable<SettableResource>
The resource model definition for resource.
Constructor Summary
| Modifier | Constructor | Description |
|---|---|---|
| protected | SettableResource() |
Creates an instance of Settable |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Settable |
fromJson(JsonReader jsonReader)
Reads an instance of Settable |
| String |
id()
Get the id property: The provider ID. |
| String |
name()
Get the name property: The provider name. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The provider type. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
SettableResource
protected SettableResource()
Creates an instance of SettableResource class.
Method Details
fromJson
public static SettableResource fromJson(JsonReader jsonReader)
Reads an instance of SettableResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The provider ID.
Returns:
name
public String name()
Get the name property: The provider name.
Returns:
toJson
type
public String type()
Get the type property: The provider type.
Returns:
validate
public void validate()
Validates the instance.