ProxyResourceReference Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. AzureResourceReference - com.
azure. resourcemanager. resourcemover. models. ProxyResourceReference
- com.
- com.
public class ProxyResourceReference
extends AzureResourceReference
Defines reference to a proxy resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ProxyResourceReference() |
Creates an instance of Proxy |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Proxy |
fromJson(JsonReader jsonReader)
Reads an instance of Proxy |
| String |
name()
Get the name property: Gets the name of the proxy resource on the target side. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Proxy |
withName(String name)
Set the name property: Gets the name of the proxy resource on the target side. |
|
Proxy |
withSourceArmResourceId(String sourceArmResourceId)
Set the source |
Methods inherited from AzureResourceReference
Methods inherited from java.lang.Object
Constructor Details
ProxyResourceReference
public ProxyResourceReference()
Creates an instance of ProxyResourceReference class.
Method Details
fromJson
public static ProxyResourceReference fromJson(JsonReader jsonReader)
Reads an instance of ProxyResourceReference from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Gets the name of the proxy resource on the target side.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ProxyResourceReference.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ProxyResourceReference.validate()withName
public ProxyResourceReference withName(String name)
Set the name property: Gets the name of the proxy resource on the target side.
Parameters:
Returns:
withSourceArmResourceId
public ProxyResourceReference withSourceArmResourceId(String sourceArmResourceId)
Set the sourceArmResourceId property: Gets the ARM resource ID of the tracked resource being referenced.
Overrides:
ProxyResourceReference.withSourceArmResourceId(String sourceArmResourceId)Parameters: