Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network; import com.fasterxml.jackson.annotation.JsonProperty;
Definition of ExpressRouteLink Mac Security configuration. ExpressRouteLink Mac Security Configuration.
/** * Definition of ExpressRouteLink Mac Security configuration. * ExpressRouteLink Mac Security Configuration. */
public class ExpressRouteLinkMacSecConfig {
Keyvault Secret Identifier URL containing Mac security CKN key.
/** * Keyvault Secret Identifier URL containing Mac security CKN key. */
@JsonProperty(value = "cknSecretIdentifier") private String cknSecretIdentifier;
Keyvault Secret Identifier URL containing Mac security CAK key.
/** * Keyvault Secret Identifier URL containing Mac security CAK key. */
@JsonProperty(value = "cakSecretIdentifier") private String cakSecretIdentifier;
Mac security cipher. Possible values include: 'gcm-aes-128', 'gcm-aes-256'.
/** * Mac security cipher. Possible values include: 'gcm-aes-128', * 'gcm-aes-256'. */
@JsonProperty(value = "cipher") private ExpressRouteLinkMacSecCipher cipher;
Get keyvault Secret Identifier URL containing Mac security CKN key.
Returns:the cknSecretIdentifier value
/** * Get keyvault Secret Identifier URL containing Mac security CKN key. * * @return the cknSecretIdentifier value */
public String cknSecretIdentifier() { return this.cknSecretIdentifier; }
Set keyvault Secret Identifier URL containing Mac security CKN key.
Params:
  • cknSecretIdentifier – the cknSecretIdentifier value to set
Returns:the ExpressRouteLinkMacSecConfig object itself.
/** * Set keyvault Secret Identifier URL containing Mac security CKN key. * * @param cknSecretIdentifier the cknSecretIdentifier value to set * @return the ExpressRouteLinkMacSecConfig object itself. */
public ExpressRouteLinkMacSecConfig withCknSecretIdentifier(String cknSecretIdentifier) { this.cknSecretIdentifier = cknSecretIdentifier; return this; }
Get keyvault Secret Identifier URL containing Mac security CAK key.
Returns:the cakSecretIdentifier value
/** * Get keyvault Secret Identifier URL containing Mac security CAK key. * * @return the cakSecretIdentifier value */
public String cakSecretIdentifier() { return this.cakSecretIdentifier; }
Set keyvault Secret Identifier URL containing Mac security CAK key.
Params:
  • cakSecretIdentifier – the cakSecretIdentifier value to set
Returns:the ExpressRouteLinkMacSecConfig object itself.
/** * Set keyvault Secret Identifier URL containing Mac security CAK key. * * @param cakSecretIdentifier the cakSecretIdentifier value to set * @return the ExpressRouteLinkMacSecConfig object itself. */
public ExpressRouteLinkMacSecConfig withCakSecretIdentifier(String cakSecretIdentifier) { this.cakSecretIdentifier = cakSecretIdentifier; return this; }
Get mac security cipher. Possible values include: 'gcm-aes-128', 'gcm-aes-256'.
Returns:the cipher value
/** * Get mac security cipher. Possible values include: 'gcm-aes-128', 'gcm-aes-256'. * * @return the cipher value */
public ExpressRouteLinkMacSecCipher cipher() { return this.cipher; }
Set mac security cipher. Possible values include: 'gcm-aes-128', 'gcm-aes-256'.
Params:
  • cipher – the cipher value to set
Returns:the ExpressRouteLinkMacSecConfig object itself.
/** * Set mac security cipher. Possible values include: 'gcm-aes-128', 'gcm-aes-256'. * * @param cipher the cipher value to set * @return the ExpressRouteLinkMacSecConfig object itself. */
public ExpressRouteLinkMacSecConfig withCipher(ExpressRouteLinkMacSecCipher cipher) { this.cipher = cipher; return this; } }