PrivateLinkResource Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. PrivateLinkResource
- com.
Implements
public final class PrivateLinkResource
implements JsonSerializable<PrivateLinkResource>
A private link resource.
Constructor Summary
Constructor | Description |
---|---|
PrivateLinkResource() |
Creates an instance of Private |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
String |
id()
Get the id property: The id property. |
String |
name()
Get the name property: Name of a private link resource. |
Private |
properties()
Get the properties property: Properties of a private link resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type property. |
void |
validate()
Validates the instance. |
Private |
withId(String id)
Set the id property: The id property. |
Private |
withName(String name)
Set the name property: Name of a private link resource. |
Private |
withProperties(PrivateLinkResourceProperties properties)
Set the properties property: Properties of a private link resource. |
Private |
withType(String type)
Set the type property: The type property. |
Methods inherited from java.lang.Object
Constructor Details
PrivateLinkResource
public PrivateLinkResource()
Creates an instance of PrivateLinkResource class.
Method Details
fromJson
public static PrivateLinkResource fromJson(JsonReader jsonReader)
Reads an instance of PrivateLinkResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The id property.
Returns:
name
public String name()
Get the name property: Name of a private link resource.
Returns:
properties
public PrivateLinkResourceProperties properties()
Get the properties property: Properties of a private link resource.
Returns:
toJson
type
public String type()
Get the type property: The type property.
Returns:
validate
public void validate()
Validates the instance.
withId
public PrivateLinkResource withId(String id)
Set the id property: The id property.
Parameters:
Returns:
withName
public PrivateLinkResource withName(String name)
Set the name property: Name of a private link resource.
Parameters:
Returns:
withProperties
public PrivateLinkResource withProperties(PrivateLinkResourceProperties properties)
Set the properties property: Properties of a private link resource.
Parameters:
Returns:
withType
public PrivateLinkResource withType(String type)
Set the type property: The type property.
Parameters:
Returns:
Applies to
Azure SDK for Java