ProxyResource Class
- java.
lang. Object - com.
azure. core. management. ProxyResource
- com.
Implements
public class ProxyResource
implements JsonSerializable<ProxyResource>
The Proxy Resource model.
Constructor Summary
Constructor | Description |
---|---|
ProxyResource() |
Creates an instance of ProxyResource. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Proxy |
fromJson(JsonReader jsonReader)
Reads a JSON stream into a ProxyResource. |
String |
id()
Get the id value. |
String |
name()
Get the name value. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type value. |
Methods inherited from java.lang.Object
Constructor Details
ProxyResource
public ProxyResource()
Creates an instance of ProxyResource.
Method Details
fromJson
public static ProxyResource fromJson(JsonReader jsonReader)
Reads a JSON stream into a ProxyResource.
Parameters:
jsonReader
- The JsonReader being read.
Returns:
The ProxyResource that the JSON stream represented, may return null.
Throws:
id
public String id()
Get the id value.
Returns:
the fully qualified resource ID for the resource.
name
public String name()
Get the name value.
Returns:
the name of the resource.
toJson
type
public String type()
Get the type value.
Returns:
the type of the resource.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java