Class NamedValueEntityBaseParameters
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.NamedValueEntityBaseParameters
-
- Direct Known Subclasses:
NamedValueContractProperties
,NamedValueCreateContractProperties
,NamedValueUpdateParameterProperties
public class NamedValueEntityBaseParameters extends Object
NamedValue Entity Base Parameters set.
-
-
Constructor Summary
Constructors Constructor Description NamedValueEntityBaseParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.NamedValueEntityBaseParameters
withSecret(Boolean secret)
Set the secret property: Determines whether the value is a secret and should be encrypted or not.NamedValueEntityBaseParameters
withTags(List<String> tags)
Set the tags property: Optional tags that when provided can be used to filter the NamedValue list.
-
-
-
Method Detail
-
tags
public List<String> tags()
Get the tags property: Optional tags that when provided can be used to filter the NamedValue list.- Returns:
- the tags value.
-
withTags
public NamedValueEntityBaseParameters withTags(List<String> 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 NamedValueEntityBaseParameters object itself.
-
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.
-
withSecret
public NamedValueEntityBaseParameters 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 NamedValueEntityBaseParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-