PrivateLinkResourceInner Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. fluent. models. PrivateLinkResourceInner
- com.
Implements
public final class PrivateLinkResourceInner
implements JsonSerializable<PrivateLinkResourceInner>
A private link resource.
Constructor Summary
Constructor | Description |
---|---|
PrivateLinkResourceInner() |
Creates an instance of Private |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
String |
groupId()
Get the group |
String |
id()
Get the id property: The ID of the private link resource. |
String |
name()
Get the name property: The name of the private link resource. |
String |
privateLinkServiceId()
Get the private |
List<String> |
requiredMembers()
Get the required |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The resource type. |
void |
validate()
Validates the instance. |
Private |
withGroupId(String groupId)
Set the group |
Private |
withId(String id)
Set the id property: The ID of the private link resource. |
Private |
withName(String name)
Set the name property: The name of the private link resource. |
Private |
withRequiredMembers(List<String> requiredMembers)
Set the required |
Private |
withType(String type)
Set the type property: The resource type. |
Methods inherited from java.lang.Object
Constructor Details
PrivateLinkResourceInner
public PrivateLinkResourceInner()
Creates an instance of PrivateLinkResourceInner class.
Method Details
fromJson
public static PrivateLinkResourceInner fromJson(JsonReader jsonReader)
Reads an instance of PrivateLinkResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
groupId
public String groupId()
Get the groupId property: The group ID of the resource.
Returns:
id
public String id()
Get the id property: The ID of the private link resource.
Returns:
name
public String name()
Get the name property: The name of the private link resource.
Returns:
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:
requiredMembers
public List
Get the requiredMembers property: The RequiredMembers of the resource.
Returns:
toJson
type
public String type()
Get the type property: The resource type.
Returns:
validate
public void validate()
Validates the instance.
withGroupId
public PrivateLinkResourceInner withGroupId(String groupId)
Set the groupId property: The group ID of the resource.
Parameters:
Returns:
withId
public PrivateLinkResourceInner withId(String id)
Set the id property: The ID of the private link resource.
Parameters:
Returns:
withName
public PrivateLinkResourceInner withName(String name)
Set the name property: The name of the private link resource.
Parameters:
Returns:
withRequiredMembers
public PrivateLinkResourceInner withRequiredMembers(List
Set the requiredMembers property: The RequiredMembers of the resource.
Parameters:
Returns:
withType
public PrivateLinkResourceInner withType(String type)
Set the type property: The resource type.
Parameters:
Returns:
Applies to
Azure SDK for Java