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:
jsonReader
- The JsonReader being read.
Returns:
The SubResource that the JSON stream represented, may return null.
Throws:
id
public String id()
Get the id value.
Returns:
the id value
toJson
withId
public SubResource withId(String id)
Set the id value.
Parameters:
id
- the id value to set
Returns:
the sub resource itself
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java