Class MhsmPrivateLinkResourceProperties

java.lang.Object
com.azure.resourcemanager.keyvault.fluent.models.MhsmPrivateLinkResourceProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<MhsmPrivateLinkResourceProperties>

public final class MhsmPrivateLinkResourceProperties extends Object implements com.azure.json.JsonSerializable<MhsmPrivateLinkResourceProperties>
Properties of a private link resource.
  • Constructor Details

    • MhsmPrivateLinkResourceProperties

      public MhsmPrivateLinkResourceProperties()
      Creates an instance of MhsmPrivateLinkResourceProperties class.
  • Method Details

    • groupId

      public String groupId()
      Get the groupId property: Group identifier of private link resource.
      Returns:
      the groupId value.
    • requiredMembers

      public List<String> requiredMembers()
      Get the requiredMembers property: Required member names of private link resource.
      Returns:
      the requiredMembers value.
    • requiredZoneNames

      public List<String> requiredZoneNames()
      Get the requiredZoneNames property: Required DNS zone names of the the private link resource.
      Returns:
      the requiredZoneNames value.
    • withRequiredZoneNames

      public MhsmPrivateLinkResourceProperties withRequiredZoneNames(List<String> requiredZoneNames)
      Set the requiredZoneNames property: Required DNS zone names of the the private link resource.
      Parameters:
      requiredZoneNames - the requiredZoneNames value to set.
      Returns:
      the MhsmPrivateLinkResourceProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<MhsmPrivateLinkResourceProperties>
      Throws:
      IOException
    • fromJson

      public static MhsmPrivateLinkResourceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of MhsmPrivateLinkResourceProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of MhsmPrivateLinkResourceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the MhsmPrivateLinkResourceProperties.