Class SecurityAdminConfigurationPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.SecurityAdminConfigurationPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SecurityAdminConfigurationPropertiesFormat>
public final class SecurityAdminConfigurationPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<SecurityAdminConfigurationPropertiesFormat>
Defines the security admin configuration properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SecurityAdminConfigurationPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the applyOnNetworkIntentPolicyBasedServices property: Enum list of network intent policy based services.Get the description property: A description of the security configuration.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SecurityAdminConfigurationPropertiesFormat from the JsonReader.Get the provisioningState property: The provisioning state of the resource.Get the resourceGuid property: Unique identifier for this resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withApplyOnNetworkIntentPolicyBasedServices(List<NetworkIntentPolicyBasedService> applyOnNetworkIntentPolicyBasedServices) Set the applyOnNetworkIntentPolicyBasedServices property: Enum list of network intent policy based services.withDescription(String description) Set the description property: A description of the security configuration.Methods inherited from class java.lang.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
-
SecurityAdminConfigurationPropertiesFormat
public SecurityAdminConfigurationPropertiesFormat()Creates an instance of SecurityAdminConfigurationPropertiesFormat class.
-
-
Method Details
-
description
Get the description property: A description of the security configuration.- Returns:
- the description value.
-
withDescription
Set the description property: A description of the security configuration.- Parameters:
description- the description value to set.- Returns:
- the SecurityAdminConfigurationPropertiesFormat object itself.
-
applyOnNetworkIntentPolicyBasedServices
Get the applyOnNetworkIntentPolicyBasedServices property: Enum list of network intent policy based services.- Returns:
- the applyOnNetworkIntentPolicyBasedServices value.
-
withApplyOnNetworkIntentPolicyBasedServices
public SecurityAdminConfigurationPropertiesFormat withApplyOnNetworkIntentPolicyBasedServices(List<NetworkIntentPolicyBasedService> applyOnNetworkIntentPolicyBasedServices) Set the applyOnNetworkIntentPolicyBasedServices property: Enum list of network intent policy based services.- Parameters:
applyOnNetworkIntentPolicyBasedServices- the applyOnNetworkIntentPolicyBasedServices value to set.- Returns:
- the SecurityAdminConfigurationPropertiesFormat object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the resource.- Returns:
- the provisioningState value.
-
resourceGuid
Get the resourceGuid property: Unique identifier for this resource.- Returns:
- the resourceGuid value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SecurityAdminConfigurationPropertiesFormat>- Throws:
IOException
-
fromJson
public static SecurityAdminConfigurationPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SecurityAdminConfigurationPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SecurityAdminConfigurationPropertiesFormat 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 SecurityAdminConfigurationPropertiesFormat.
-