Class ApiKVReferenceProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.ApiKVReferenceProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApiKVReferenceProperties>
public final class ApiKVReferenceProperties
extends Object
implements com.azure.json.JsonSerializable<ApiKVReferenceProperties>
ApiKVReference resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApiKVReferenceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the activeVersion property: The activeVersion property.details()Get the details property: The details property.static ApiKVReferencePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApiKVReferenceProperties from the JsonReader.Get the identityType property: Managed service identity.Get the reference property: The reference property.Get the secretName property: The secretName property.Get the secretVersion property: The secretVersion property.source()Get the source property: The source property.status()Get the status property: The status property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the vaultName property: The vaultName property.withActiveVersion(String activeVersion) Set the activeVersion property: The activeVersion property.withDetails(String details) Set the details property: The details property.withIdentityType(ManagedServiceIdentity identityType) Set the identityType property: Managed service identity.withReference(String reference) Set the reference property: The reference property.withSecretName(String secretName) Set the secretName property: The secretName property.withSecretVersion(String secretVersion) Set the secretVersion property: The secretVersion property.withSource(ConfigReferenceSource source) Set the source property: The source property.withStatus(ResolveStatus status) Set the status property: The status property.withVaultName(String vaultName) Set the vaultName property: The vaultName property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ApiKVReferenceProperties
public ApiKVReferenceProperties()Creates an instance of ApiKVReferenceProperties class.
-
-
Method Details
-
reference
Get the reference property: The reference property.- Returns:
- the reference value.
-
withReference
Set the reference property: The reference property.- Parameters:
reference- the reference value to set.- Returns:
- the ApiKVReferenceProperties object itself.
-
status
Get the status property: The status property.- Returns:
- the status value.
-
withStatus
Set the status property: The status property.- Parameters:
status- the status value to set.- Returns:
- the ApiKVReferenceProperties object itself.
-
vaultName
Get the vaultName property: The vaultName property.- Returns:
- the vaultName value.
-
withVaultName
Set the vaultName property: The vaultName property.- Parameters:
vaultName- the vaultName value to set.- Returns:
- the ApiKVReferenceProperties object itself.
-
secretName
Get the secretName property: The secretName property.- Returns:
- the secretName value.
-
withSecretName
Set the secretName property: The secretName property.- Parameters:
secretName- the secretName value to set.- Returns:
- the ApiKVReferenceProperties object itself.
-
secretVersion
Get the secretVersion property: The secretVersion property.- Returns:
- the secretVersion value.
-
withSecretVersion
Set the secretVersion property: The secretVersion property.- Parameters:
secretVersion- the secretVersion value to set.- Returns:
- the ApiKVReferenceProperties object itself.
-
identityType
Get the identityType property: Managed service identity.- Returns:
- the identityType value.
-
withIdentityType
Set the identityType property: Managed service identity.- Parameters:
identityType- the identityType value to set.- Returns:
- the ApiKVReferenceProperties object itself.
-
details
Get the details property: The details property.- Returns:
- the details value.
-
withDetails
Set the details property: The details property.- Parameters:
details- the details value to set.- Returns:
- the ApiKVReferenceProperties object itself.
-
source
Get the source property: The source property.- Returns:
- the source value.
-
withSource
Set the source property: The source property.- Parameters:
source- the source value to set.- Returns:
- the ApiKVReferenceProperties object itself.
-
activeVersion
Get the activeVersion property: The activeVersion property.- Returns:
- the activeVersion value.
-
withActiveVersion
Set the activeVersion property: The activeVersion property.- Parameters:
activeVersion- the activeVersion value to set.- Returns:
- the ApiKVReferenceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ApiKVReferenceProperties>- Throws:
IOException
-
fromJson
public static ApiKVReferenceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApiKVReferenceProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApiKVReferenceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ApiKVReferenceProperties.
-