Class PrivateLinkResource
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.PrivateLinkResource
-
public final class PrivateLinkResource extends Object
A private link resource.
-
-
Constructor Summary
Constructors Constructor Description PrivateLinkResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: The id property.Stringname()Get the name property: Name of a private link resource.PrivateLinkResourcePropertiesproperties()Get the properties property: Properties of a private link resource.Stringtype()Get the type property: The type property.voidvalidate()Validates the instance.PrivateLinkResourcewithId(String id)Set the id property: The id property.PrivateLinkResourcewithName(String name)Set the name property: Name of a private link resource.PrivateLinkResourcewithProperties(PrivateLinkResourceProperties properties)Set the properties property: Properties of a private link resource.PrivateLinkResourcewithType(String type)Set the type property: The type property.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The id property.- Returns:
- the id value.
-
withId
public PrivateLinkResource withId(String id)
Set the id property: The id property.- Parameters:
id- the id value to set.- Returns:
- the PrivateLinkResource object itself.
-
name
public String name()
Get the name property: Name of a private link resource.- Returns:
- the name value.
-
withName
public PrivateLinkResource withName(String name)
Set the name property: Name of a private link resource.- Parameters:
name- the name value to set.- Returns:
- the PrivateLinkResource object itself.
-
type
public String type()
Get the type property: The type property.- Returns:
- the type value.
-
withType
public PrivateLinkResource withType(String type)
Set the type property: The type property.- Parameters:
type- the type value to set.- Returns:
- the PrivateLinkResource object itself.
-
properties
public PrivateLinkResourceProperties properties()
Get the properties property: Properties of a private link resource.- Returns:
- the properties value.
-
withProperties
public PrivateLinkResource withProperties(PrivateLinkResourceProperties properties)
Set the properties property: Properties of a private link resource.- Parameters:
properties- the properties value to set.- Returns:
- the PrivateLinkResource object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-