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 Details

    • SecurityAdminConfigurationPropertiesFormat

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

    • description

      public String description()
      Get the description property: A description of the security configuration.
      Returns:
      the description value.
    • withDescription

      public SecurityAdminConfigurationPropertiesFormat withDescription(String description)
      Set the description property: A description of the security configuration.
      Parameters:
      description - the description value to set.
      Returns:
      the SecurityAdminConfigurationPropertiesFormat object itself.
    • applyOnNetworkIntentPolicyBasedServices

      public List<NetworkIntentPolicyBasedService> 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.
    • networkGroupAddressSpaceAggregationOption

      public AddressSpaceAggregationOption networkGroupAddressSpaceAggregationOption()
      Get the networkGroupAddressSpaceAggregationOption property: Determine update behavior for changes to network groups referenced within the rules in this configuration.
      Returns:
      the networkGroupAddressSpaceAggregationOption value.
    • withNetworkGroupAddressSpaceAggregationOption

      public SecurityAdminConfigurationPropertiesFormat withNetworkGroupAddressSpaceAggregationOption(AddressSpaceAggregationOption networkGroupAddressSpaceAggregationOption)
      Set the networkGroupAddressSpaceAggregationOption property: Determine update behavior for changes to network groups referenced within the rules in this configuration.
      Parameters:
      networkGroupAddressSpaceAggregationOption - the networkGroupAddressSpaceAggregationOption value to set.
      Returns:
      the SecurityAdminConfigurationPropertiesFormat object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the resource.
      Returns:
      the provisioningState value.
    • resourceGuid

      public String 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.