Class SecretInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devtestlabs.fluent.models.SecretInner
public final class SecretInner
extends com.azure.core.management.Resource
A secret.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the provisioningState property: The provisioning status of the resource.Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).void
validate()
Validates the instance.value()
Get the value property: The value of the secret for secret creation.withLocation
(String location) Set the value property: The value of the secret for secret creation.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SecretInner
public SecretInner()Creates an instance of SecretInner class.
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
value
Get the value property: The value of the secret for secret creation.- Returns:
- the value value.
-
withValue
Set the value property: The value of the secret for secret creation.- Parameters:
value
- the value value to set.- Returns:
- the SecretInner object itself.
-
provisioningState
Get the provisioningState property: The provisioning status of the resource.- Returns:
- the provisioningState value.
-
uniqueIdentifier
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).- Returns:
- the uniqueIdentifier value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-