Class PrivateLinkResourceInner
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.fluent.models.PrivateLinkResourceInner
-
public final class PrivateLinkResourceInner extends Object
A private link resource.
-
-
Constructor Summary
Constructors Constructor Description PrivateLinkResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgroupId()Get the groupId property: The group ID of the resource.Stringid()Get the id property: The ID of the private link resource.Stringname()Get the name property: The name of the private link resource.StringprivateLinkServiceId()Get the privateLinkServiceId property: The private link service ID of the resource, this field is exposed only to NRP internally.List<String>requiredMembers()Get the requiredMembers property: The RequiredMembers of the resource.Stringtype()Get the type property: The resource type.voidvalidate()Validates the instance.PrivateLinkResourceInnerwithGroupId(String groupId)Set the groupId property: The group ID of the resource.PrivateLinkResourceInnerwithId(String id)Set the id property: The ID of the private link resource.PrivateLinkResourceInnerwithName(String name)Set the name property: The name of the private link resource.PrivateLinkResourceInnerwithRequiredMembers(List<String> requiredMembers)Set the requiredMembers property: The RequiredMembers of the resource.PrivateLinkResourceInnerwithType(String type)Set the type property: The resource type.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The ID of the private link resource.- Returns:
- the id value.
-
withId
public PrivateLinkResourceInner withId(String id)
Set the id property: The ID of the private link resource.- Parameters:
id- the id value to set.- Returns:
- the PrivateLinkResourceInner object itself.
-
name
public String name()
Get the name property: The name of the private link resource.- Returns:
- the name value.
-
withName
public PrivateLinkResourceInner withName(String name)
Set the name property: The name of the private link resource.- Parameters:
name- the name value to set.- Returns:
- the PrivateLinkResourceInner object itself.
-
type
public String type()
Get the type property: The resource type.- Returns:
- the type value.
-
withType
public PrivateLinkResourceInner withType(String type)
Set the type property: The resource type.- Parameters:
type- the type value to set.- Returns:
- the PrivateLinkResourceInner object itself.
-
groupId
public String groupId()
Get the groupId property: The group ID of the resource.- Returns:
- the groupId value.
-
withGroupId
public PrivateLinkResourceInner withGroupId(String groupId)
Set the groupId property: The group ID of the resource.- Parameters:
groupId- the groupId value to set.- Returns:
- the PrivateLinkResourceInner object itself.
-
requiredMembers
public List<String> requiredMembers()
Get the requiredMembers property: The RequiredMembers of the resource.- Returns:
- the requiredMembers value.
-
withRequiredMembers
public PrivateLinkResourceInner withRequiredMembers(List<String> requiredMembers)
Set the requiredMembers property: The RequiredMembers of the resource.- Parameters:
requiredMembers- the requiredMembers value to set.- Returns:
- the PrivateLinkResourceInner object itself.
-
privateLinkServiceId
public String privateLinkServiceId()
Get the privateLinkServiceId property: The private link service ID of the resource, this field is exposed only to NRP internally.- Returns:
- the privateLinkServiceId value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-