PrivateLinkResource Class
- java.
lang. Object - com.
azure. resourcemanager. eventhubs. models. PrivateLinkResource
- com.
Implements
public final class PrivateLinkResource
implements JsonSerializable<PrivateLinkResource>
Information of the 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 |
groupId()
Get the group |
String |
id()
Get the id property: Fully qualified identifier of the resource. |
String |
name()
Get the name property: Name of the resource. |
List<String> |
requiredMembers()
Get the required |
List<String> |
requiredZoneNames()
Get the required |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of the resource. |
void |
validate()
Validates the instance. |
Private |
withGroupId(String groupId)
Set the group |
Private |
withId(String id)
Set the id property: Fully qualified identifier of the resource. |
Private |
withName(String name)
Set the name property: Name of the resource. |
Private |
withRequiredMembers(List<String> requiredMembers)
Set the required |
Private |
withRequiredZoneNames(List<String> requiredZoneNames)
Set the required |
Private |
withType(String type)
Set the type property: Type of the resource. |
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:
groupId
public String groupId()
Get the groupId property: The private link resource group id.
Returns:
id
public String id()
Get the id property: Fully qualified identifier of the resource.
Returns:
name
public String name()
Get the name property: Name of the resource.
Returns:
requiredMembers
public List
Get the requiredMembers property: The private link resource required member names.
Returns:
requiredZoneNames
public List
Get the requiredZoneNames property: The private link resource Private link DNS zone name.
Returns:
toJson
type
public String type()
Get the type property: Type of the resource.
Returns:
validate
public void validate()
Validates the instance.
withGroupId
public PrivateLinkResource withGroupId(String groupId)
Set the groupId property: The private link resource group id.
Parameters:
Returns:
withId
public PrivateLinkResource withId(String id)
Set the id property: Fully qualified identifier of the resource.
Parameters:
Returns:
withName
public PrivateLinkResource withName(String name)
Set the name property: Name of the resource.
Parameters:
Returns:
withRequiredMembers
public PrivateLinkResource withRequiredMembers(List
Set the requiredMembers property: The private link resource required member names.
Parameters:
Returns:
withRequiredZoneNames
public PrivateLinkResource withRequiredZoneNames(List
Set the requiredZoneNames property: The private link resource Private link DNS zone name.
Parameters:
Returns:
withType
public PrivateLinkResource withType(String type)
Set the type property: Type of the resource.
Parameters:
Returns:
Applies to
Azure SDK for Java