SubResource Class
- java.
lang. Object - com.
azure. core. management. SubResource
- com.
Implements
public class SubResource
implements JsonSerializable<SubResource>
The SubResource model.
Constructor Summary
| Constructor | Description |
|---|---|
| SubResource() |
Creates an instance of SubResource. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sub |
fromJson(JsonReader jsonReader)
Reads a JSON stream into a SubResource. |
| String |
id()
Get the id value. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Sub |
withId(String id)
Set the id value. |
Methods inherited from java.lang.Object
Constructor Details
SubResource
public SubResource()
Creates an instance of SubResource.
Method Details
fromJson
public static SubResource fromJson(JsonReader jsonReader)
Reads a JSON stream into a SubResource.
Parameters:
Returns:
Throws:
id
public String id()
Get the id value.
Returns:
toJson
withId
public SubResource withId(String id)
Set the id value.
Parameters:
Returns: