DaprSecretsCollectionInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appcontainers.fluent.models.DaprSecretsCollectionInner

Implements

public final class DaprSecretsCollectionInner
implements JsonSerializable<DaprSecretsCollectionInner>

Dapr component Secrets Collection for ListSecrets Action.

Constructor Summary

Constructor Description
DaprSecretsCollectionInner()

Creates an instance of DaprSecretsCollectionInner class.

Method Summary

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

Reads an instance of DaprSecretsCollectionInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<DaprSecret> value()

Get the value property: Collection of secrets used by a Dapr component.

DaprSecretsCollectionInner withValue(List<DaprSecret> value)

Set the value property: Collection of secrets used by a Dapr component.

Methods inherited from java.lang.Object

Constructor Details

DaprSecretsCollectionInner

public DaprSecretsCollectionInner()

Creates an instance of DaprSecretsCollectionInner class.

Method Details

fromJson

public static DaprSecretsCollectionInner fromJson(JsonReader jsonReader)

Reads an instance of DaprSecretsCollectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DaprSecretsCollectionInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<DaprSecret> value()

Get the value property: Collection of secrets used by a Dapr component.

Returns:

the value value.

withValue

public DaprSecretsCollectionInner withValue(List<DaprSecret> value)

Set the value property: Collection of secrets used by a Dapr component.

Parameters:

value - the value value to set.

Returns:

the DaprSecretsCollectionInner object itself.

Applies to