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 Summary
ConstructorsConstructorDescriptionCreates an instance of SecurityPartnerProviderPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the connectionStatus property: The connection status with the Security Partner Provider.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SecurityPartnerProviderPropertiesFormat from the JsonReader.Get the provisioningState property: The provisioning state of the Security Partner Provider resource.Get the securityProviderName property: The security provider name.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.com.azure.core.management.SubResourceGet the virtualHub property: The virtualHub to which the Security Partner Provider belongs.withSecurityProviderName(SecurityProviderName securityProviderName) Set the securityProviderName property: The security provider name.withVirtualHub(com.azure.core.management.SubResource virtualHub) Set the virtualHub property: The virtualHub to which the Security Partner Provider belongs.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SecurityPartnerProviderPropertiesFormat
public SecurityPartnerProviderPropertiesFormat()Creates an instance of SecurityPartnerProviderPropertiesFormat class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioning state of the Security Partner Provider resource.- Returns:
- the provisioningState value.
-
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
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
- Specified by:
toJsonin interfacecom.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.
-