ExpressRouteLinkMacSecConfig Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ExpressRouteLinkMacSecConfig

Implements

public final class ExpressRouteLinkMacSecConfig
implements JsonSerializable<ExpressRouteLinkMacSecConfig>

Definition of ExpressRouteLink Mac Security configuration. ExpressRouteLink Mac Security Configuration.

Constructor Summary

Constructor Description
ExpressRouteLinkMacSecConfig()

Creates an instance of ExpressRouteLinkMacSecConfig class.

Method Summary

Modifier and Type Method and Description
String cakSecretIdentifier()

Get the cakSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CAK key.

ExpressRouteLinkMacSecCipher cipher()

Get the cipher property: Mac security cipher.

String cknSecretIdentifier()

Get the cknSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CKN key.

static ExpressRouteLinkMacSecConfig fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteLinkMacSecConfig from the JsonReader.

ExpressRouteLinkMacSecSciState sciState()

Get the sciState property: Sci mode enabled/disabled.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteLinkMacSecConfig withCakSecretIdentifier(String cakSecretIdentifier)

Set the cakSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CAK key.

ExpressRouteLinkMacSecConfig withCipher(ExpressRouteLinkMacSecCipher cipher)

Set the cipher property: Mac security cipher.

ExpressRouteLinkMacSecConfig withCknSecretIdentifier(String cknSecretIdentifier)

Set the cknSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CKN key.

ExpressRouteLinkMacSecConfig withSciState(ExpressRouteLinkMacSecSciState sciState)

Set the sciState property: Sci mode enabled/disabled.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteLinkMacSecConfig

public ExpressRouteLinkMacSecConfig()

Creates an instance of ExpressRouteLinkMacSecConfig class.

Method Details

cakSecretIdentifier

public String cakSecretIdentifier()

Get the cakSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CAK key.

Returns:

the cakSecretIdentifier value.

cipher

public ExpressRouteLinkMacSecCipher cipher()

Get the cipher property: Mac security cipher.

Returns:

the cipher value.

cknSecretIdentifier

public String cknSecretIdentifier()

Get the cknSecretIdentifier property: Keyvault Secret Identifier URL containing Mac security CKN key.

Returns:

the cknSecretIdentifier value.

fromJson

public static ExpressRouteLinkMacSecConfig fromJson(JsonReader jsonReader)

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.

sciState

public ExpressRouteLinkMacSecSciState sciState()

Get the sciState property: Sci mode enabled/disabled.

Returns:

the sciState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withCipher

public ExpressRouteLinkMacSecConfig withCipher(ExpressRouteLinkMacSecCipher cipher)

Set the cipher property: Mac security cipher.

Parameters:

cipher - the cipher value to set.

Returns:

the ExpressRouteLinkMacSecConfig object itself.

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.

withSciState

public ExpressRouteLinkMacSecConfig withSciState(ExpressRouteLinkMacSecSciState sciState)

Set the sciState property: Sci mode enabled/disabled.

Parameters:

sciState - the sciState value to set.

Returns:

the ExpressRouteLinkMacSecConfig object itself.

Applies to