Class NspAssociationProperties

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

public final class NspAssociationProperties extends Object implements com.azure.json.JsonSerializable<NspAssociationProperties>
The NspAssociationProperties model.
  • Constructor Details

    • NspAssociationProperties

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

    • provisioningState

      public NspProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the resource association resource.
      Returns:
      the provisioningState value.
    • privateLinkResource

      public com.azure.core.management.SubResource privateLinkResource()
      Get the privateLinkResource property: The PaaS resource to be associated.
      Returns:
      the privateLinkResource value.
    • withPrivateLinkResource

      public NspAssociationProperties withPrivateLinkResource(com.azure.core.management.SubResource privateLinkResource)
      Set the privateLinkResource property: The PaaS resource to be associated.
      Parameters:
      privateLinkResource - the privateLinkResource value to set.
      Returns:
      the NspAssociationProperties object itself.
    • profile

      public com.azure.core.management.SubResource profile()
      Get the profile property: Profile id to which the PaaS resource is associated.
      Returns:
      the profile value.
    • withProfile

      public NspAssociationProperties withProfile(com.azure.core.management.SubResource profile)
      Set the profile property: Profile id to which the PaaS resource is associated.
      Parameters:
      profile - the profile value to set.
      Returns:
      the NspAssociationProperties object itself.
    • accessMode

      public AssociationAccessMode accessMode()
      Get the accessMode property: Access mode on the association.
      Returns:
      the accessMode value.
    • withAccessMode

      public NspAssociationProperties withAccessMode(AssociationAccessMode accessMode)
      Set the accessMode property: Access mode on the association.
      Parameters:
      accessMode - the accessMode value to set.
      Returns:
      the NspAssociationProperties object itself.
    • hasProvisioningIssues

      public String hasProvisioningIssues()
      Get the hasProvisioningIssues property: Specifies if there are provisioning issues.
      Returns:
      the hasProvisioningIssues value.
    • 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<NspAssociationProperties>
      Throws:
      IOException
    • fromJson

      public static NspAssociationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of NspAssociationProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of NspAssociationProperties 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 NspAssociationProperties.