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 Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRouteLinkMacSecConfig class. -
Method Summary
Modifier and TypeMethodDescriptionGet the cakSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CAK key.cipher()Get the cipher property: Mac security cipher.Get the cknSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CKN key.static ExpressRouteLinkMacSecConfigfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRouteLinkMacSecConfig from the JsonReader.sciState()Get the sciState property: Sci mode enabled/disabled.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCakSecretIdentifier(String cakSecretIdentifier) Set the cakSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CAK key.Set the cipher property: Mac security cipher.withCknSecretIdentifier(String cknSecretIdentifier) Set the cknSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CKN key.withSciState(ExpressRouteLinkMacSecSciState sciState) Set the sciState property: Sci mode enabled/disabled.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
-
ExpressRouteLinkMacSecConfig
public ExpressRouteLinkMacSecConfig()Creates an instance of ExpressRouteLinkMacSecConfig class.
-
-
Method Details
-
cknSecretIdentifier
Get the cknSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CKN key.- Returns:
- the cknSecretIdentifier value.
-
withCknSecretIdentifier
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
Get the cakSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CAK key.- Returns:
- the cakSecretIdentifier value.
-
withCakSecretIdentifier
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
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
- Specified by:
toJsonin interfacecom.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.
-