共用方式為


KeyVaultSetting Class

  • java.lang.Object
    • com.azure.security.keyvault.administration.models.KeyVaultSetting

public final class KeyVaultSetting

The KeyVaultSetting model.

Constructor Summary

Constructor Description
KeyVaultSetting(String name, boolean value)

Creates a new KeyVaultSetting with the with the specified details.

Method Summary

Modifier and Type Method and Description
boolean asBoolean()

Get the value of the KeyVaultSetting as a boolean.

String getName()

Gets the name of the KeyVaultSetting.

KeyVaultSettingType getType()

Get the type of the KeyVaultSetting's value.

Methods inherited from java.lang.Object

Constructor Details

KeyVaultSetting

public KeyVaultSetting(String name, boolean value)

Creates a new KeyVaultSetting with the with the specified details.

Parameters:

name - The name of the KeyVaultSetting.
value - The value of the KeyVaultSetting.

Method Details

asBoolean

public boolean asBoolean()

Get the value of the KeyVaultSetting as a boolean.

Returns:

The value of the KeyVaultSetting as a boolean.

getName

public String getName()

Gets the name of the KeyVaultSetting.

Returns:

The name of the KeyVaultSetting.

getType

public KeyVaultSettingType getType()

Get the type of the KeyVaultSetting's value.

Returns:

The type of the KeyVaultSetting's value.

Applies to