Class ValueSecretInfo
- java.lang.Object
-
- com.azure.resourcemanager.servicelinker.models.SecretInfoBase
-
- com.azure.resourcemanager.servicelinker.models.ValueSecretInfo
-
public final class ValueSecretInfo extends SecretInfoBase
The secret info when type is rawValue. It's for scenarios that user input the secret.
-
-
Constructor Summary
Constructors Constructor Description ValueSecretInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.String
value()
Get the value property: The actual value of the secret.ValueSecretInfo
withValue(String value)
Set the value property: The actual value of the secret.
-
-
-
Method Detail
-
value
public String value()
Get the value property: The actual value of the secret.- Returns:
- the value value.
-
withValue
public ValueSecretInfo withValue(String value)
Set the value property: The actual value of the secret.- Parameters:
value
- the value value to set.- Returns:
- the ValueSecretInfo object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classSecretInfoBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-