Class PrivateLinkResource
java.lang.Object
com.azure.resourcemanager.appservice.models.PrivateLinkResource
A private link resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionid()Get the id property: The id property.name()Get the name property: Name of a private link resource.Get the properties property: Properties of a private link resource.type()Get the type property: The type property.voidvalidate()Validates the instance.Set the id property: The id property.Set the name property: Name of a private link resource.withProperties(PrivateLinkResourceProperties properties) Set the properties property: Properties of a private link resource.Set the type property: The type property.
-
Constructor Details
-
PrivateLinkResource
public PrivateLinkResource()Creates an instance of PrivateLinkResource class.
-
-
Method Details
-
id
Get the id property: The id property.- Returns:
- the id value.
-
withId
Set the id property: The id property.- Parameters:
id- the id value to set.- Returns:
- the PrivateLinkResource object itself.
-
name
Get the name property: Name of a private link resource.- Returns:
- the name value.
-
withName
Set the name property: Name of a private link resource.- Parameters:
name- the name value to set.- Returns:
- the PrivateLinkResource object itself.
-
type
Get the type property: The type property.- Returns:
- the type value.
-
withType
Set the type property: The type property.- Parameters:
type- the type value to set.- Returns:
- the PrivateLinkResource object itself.
-
properties
Get the properties property: Properties of a private link resource.- Returns:
- the properties value.
-
withProperties
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.
-