NamedValueContractInner Class

public final class NamedValueContractInner
extends ProxyResource

NamedValue details.

Constructor Summary

Constructor Description
NamedValueContractInner()

Creates an instance of NamedValueContractInner class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Unique name of NamedValue.

KeyVaultContractProperties keyVault()

Get the keyVault property: KeyVault location details of the namedValue.

Boolean secret()

Get the secret property: Determines whether the value is a secret and should be encrypted or not.

List<String> tags()

Get the tags property: Optional tags that when provided can be used to filter the NamedValue list.

void validate()

Validates the instance.

String value()

Get the value property: Value of the NamedValue.

NamedValueContractInner withDisplayName(String displayName)

Set the displayName property: Unique name of NamedValue.

NamedValueContractInner withKeyVault(KeyVaultContractProperties keyVault)

Set the keyVault property: KeyVault location details of the namedValue.

NamedValueContractInner withSecret(Boolean secret)

Set the secret property: Determines whether the value is a secret and should be encrypted or not.

NamedValueContractInner withTags(List<String> tags)

Set the tags property: Optional tags that when provided can be used to filter the NamedValue list.

NamedValueContractInner withValue(String value)

Set the value property: Value of the NamedValue.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

NamedValueContractInner

public NamedValueContractInner()

Creates an instance of NamedValueContractInner class.

Method Details

displayName

public String displayName()

Get the displayName property: Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.

Returns:

the displayName value.

keyVault

public KeyVaultContractProperties keyVault()

Get the keyVault property: KeyVault location details of the namedValue.

Returns:

the keyVault value.

secret

public Boolean secret()

Get the secret property: Determines whether the value is a secret and should be encrypted or not. Default value is false.

Returns:

the secret value.

tags

public List tags()

Get the tags property: Optional tags that when provided can be used to filter the NamedValue list.

Returns:

the tags value.

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.

Returns:

the value value.

withDisplayName

public NamedValueContractInner withDisplayName(String displayName)

Set the displayName property: Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.

Parameters:

displayName - the displayName value to set.

Returns:

the NamedValueContractInner object itself.

withKeyVault

public NamedValueContractInner withKeyVault(KeyVaultContractProperties keyVault)

Set the keyVault property: KeyVault location details of the namedValue.

Parameters:

keyVault - the keyVault value to set.

Returns:

the NamedValueContractInner object itself.

withSecret

public NamedValueContractInner withSecret(Boolean secret)

Set the secret property: Determines whether the value is a secret and should be encrypted or not. Default value is false.

Parameters:

secret - the secret value to set.

Returns:

the NamedValueContractInner object itself.

withTags

public NamedValueContractInner withTags(List tags)

Set the tags property: Optional tags that when provided can be used to filter the NamedValue list.

Parameters:

tags - the tags value to set.

Returns:

the NamedValueContractInner object itself.

withValue

public NamedValueContractInner withValue(String value)

Set the value property: Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.

Parameters:

value - the value value to set.

Returns:

the NamedValueContractInner object itself.

Applies to