Share via


KeyVaultReferenceWithStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.KeyVaultReferenceWithStatus

Implements

public final class KeyVaultReferenceWithStatus
implements JsonSerializable<KeyVaultReferenceWithStatus>

Object to hold key vault reference and the resolution status.

Constructor Summary

Constructor Description
KeyVaultReferenceWithStatus()

Creates an instance of KeyVaultReferenceWithStatus class.

Method Summary

Modifier and Type Method and Description
static KeyVaultReferenceWithStatus fromJson(JsonReader jsonReader)

Reads an instance of KeyVaultReferenceWithStatus from the JsonReader.

String referenceStatus()

Get the referenceStatus property: Reference status of the key vault secret.

String secretUri()

Get the secretUri property: Key vault secret URI.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

KeyVaultReferenceWithStatus withReferenceStatus(String referenceStatus)

Set the referenceStatus property: Reference status of the key vault secret.

KeyVaultReferenceWithStatus withSecretUri(String secretUri)

Set the secretUri property: Key vault secret URI.

Methods inherited from java.lang.Object

Constructor Details

KeyVaultReferenceWithStatus

public KeyVaultReferenceWithStatus()

Creates an instance of KeyVaultReferenceWithStatus class.

Method Details

fromJson

public static KeyVaultReferenceWithStatus fromJson(JsonReader jsonReader)

Reads an instance of KeyVaultReferenceWithStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of KeyVaultReferenceWithStatus 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 KeyVaultReferenceWithStatus.

referenceStatus

public String referenceStatus()

Get the referenceStatus property: Reference status of the key vault secret.

Returns:

the referenceStatus value.

secretUri

public String secretUri()

Get the secretUri property: Key vault secret URI.

Returns:

the secretUri value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withReferenceStatus

public KeyVaultReferenceWithStatus withReferenceStatus(String referenceStatus)

Set the referenceStatus property: Reference status of the key vault secret.

Parameters:

referenceStatus - the referenceStatus value to set.

Returns:

the KeyVaultReferenceWithStatus object itself.

withSecretUri

public KeyVaultReferenceWithStatus withSecretUri(String secretUri)

Set the secretUri property: Key vault secret URI.

Parameters:

secretUri - the secretUri value to set.

Returns:

the KeyVaultReferenceWithStatus object itself.

Applies to