Class SecurityPartnerProviderPropertiesFormat

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

public final class SecurityPartnerProviderPropertiesFormat extends Object implements com.azure.json.JsonSerializable<SecurityPartnerProviderPropertiesFormat>
Properties of the Security Partner Provider.
  • Constructor Details

    • SecurityPartnerProviderPropertiesFormat

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the Security Partner Provider resource.
      Returns:
      the provisioningState value.
    • securityProviderName

      public SecurityProviderName securityProviderName()
      Get the securityProviderName property: The security provider name.
      Returns:
      the securityProviderName value.
    • withSecurityProviderName

      public SecurityPartnerProviderPropertiesFormat withSecurityProviderName(SecurityProviderName securityProviderName)
      Set the securityProviderName property: The security provider name.
      Parameters:
      securityProviderName - the securityProviderName value to set.
      Returns:
      the SecurityPartnerProviderPropertiesFormat object itself.
    • connectionStatus

      public SecurityPartnerProviderConnectionStatus connectionStatus()
      Get the connectionStatus property: The connection status with the Security Partner Provider.
      Returns:
      the connectionStatus value.
    • virtualHub

      public com.azure.core.management.SubResource virtualHub()
      Get the virtualHub property: The virtualHub to which the Security Partner Provider belongs.
      Returns:
      the virtualHub value.
    • withVirtualHub

      public SecurityPartnerProviderPropertiesFormat withVirtualHub(com.azure.core.management.SubResource virtualHub)
      Set the virtualHub property: The virtualHub to which the Security Partner Provider belongs.
      Parameters:
      virtualHub - the virtualHub value to set.
      Returns:
      the SecurityPartnerProviderPropertiesFormat 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<SecurityPartnerProviderPropertiesFormat>
      Throws:
      IOException
    • fromJson

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