Class ExpressRouteLinkMacSecConfig

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

public final class ExpressRouteLinkMacSecConfig extends Object implements com.azure.json.JsonSerializable<ExpressRouteLinkMacSecConfig>
Definition of ExpressRouteLink Mac Security configuration. ExpressRouteLink Mac Security Configuration.
  • Constructor Details

    • ExpressRouteLinkMacSecConfig

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

    • cknSecretIdentifier

      public String cknSecretIdentifier()
      Get the cknSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CKN key.
      Returns:
      the cknSecretIdentifier value.
    • withCknSecretIdentifier

      public ExpressRouteLinkMacSecConfig withCknSecretIdentifier(String cknSecretIdentifier)
      Set the cknSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CKN key.
      Parameters:
      cknSecretIdentifier - the cknSecretIdentifier value to set.
      Returns:
      the ExpressRouteLinkMacSecConfig object itself.
    • cakSecretIdentifier

      public String cakSecretIdentifier()
      Get the cakSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CAK key.
      Returns:
      the cakSecretIdentifier value.
    • withCakSecretIdentifier

      public ExpressRouteLinkMacSecConfig withCakSecretIdentifier(String cakSecretIdentifier)
      Set the cakSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CAK key.
      Parameters:
      cakSecretIdentifier - the cakSecretIdentifier value to set.
      Returns:
      the ExpressRouteLinkMacSecConfig object itself.
    • cipher

      Get the cipher property: Mac security cipher.
      Returns:
      the cipher value.
    • withCipher

      Set the cipher property: Mac security cipher.
      Parameters:
      cipher - the cipher value to set.
      Returns:
      the ExpressRouteLinkMacSecConfig object itself.
    • sciState

      public ExpressRouteLinkMacSecSciState sciState()
      Get the sciState property: Sci mode enabled/disabled.
      Returns:
      the sciState value.
    • withSciState

      Set the sciState property: Sci mode enabled/disabled.
      Parameters:
      sciState - the sciState value to set.
      Returns:
      the ExpressRouteLinkMacSecConfig 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<ExpressRouteLinkMacSecConfig>
      Throws:
      IOException
    • fromJson

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