ProxyResourceWithWritableName Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. models. ResourceWithWritableName - com.
azure. resourcemanager. sql. models. ProxyResourceWithWritableName
- com.
- com.
- com.
public class ProxyResourceWithWritableName
extends ResourceWithWritableName
ARM proxy resource.
Constructor Summary
Constructor | Description |
---|---|
ProxyResourceWithWritableName() |
Creates an instance of Proxy |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Proxy |
fromJson(JsonReader jsonReader)
Reads an instance of Proxy |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Proxy |
withName(String name)
Set the name property: Resource name. |
Methods inherited from ResourceWithWritableName
Methods inherited from java.lang.Object
Constructor Details
ProxyResourceWithWritableName
public ProxyResourceWithWritableName()
Creates an instance of ProxyResourceWithWritableName class.
Method Details
fromJson
public static ProxyResourceWithWritableName fromJson(JsonReader jsonReader)
Reads an instance of ProxyResourceWithWritableName from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ProxyResourceWithWritableName.id()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ProxyResourceWithWritableName.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ProxyResourceWithWritableName.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ProxyResourceWithWritableName.validate()withName
public ProxyResourceWithWritableName withName(String name)
Set the name property: Resource name.
Overrides:
ProxyResourceWithWritableName.withName(String name)Parameters:
Applies to
Azure SDK for Java