SecretsProvisioningComponent Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.SecretsProvisioningComponent

Implements

public final class SecretsProvisioningComponent
implements JsonSerializable<SecretsProvisioningComponent>

Describes a component involved in secrets provisioning.

Constructor Summary

Constructor Description
SecretsProvisioningComponent()

Creates an instance of SecretsProvisioningComponent class.

Method Summary

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

Reads an instance of SecretsProvisioningComponent from the JsonReader.

SecretsProvisioningComponentName name()

Get the name property: The name of the component.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: The version of the component.

SecretsProvisioningComponent withName(SecretsProvisioningComponentName name)

Set the name property: The name of the component.

SecretsProvisioningComponent withVersion(String version)

Set the version property: The version of the component.

Methods inherited from java.lang.Object

Constructor Details

SecretsProvisioningComponent

public SecretsProvisioningComponent()

Creates an instance of SecretsProvisioningComponent class.

Method Details

fromJson

public static SecretsProvisioningComponent fromJson(JsonReader jsonReader)

Reads an instance of SecretsProvisioningComponent from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public SecretsProvisioningComponentName name()

Get the name property: The name of the component.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: The version of the component.

Returns:

the version value.

withName

public SecretsProvisioningComponent withName(SecretsProvisioningComponentName name)

Set the name property: The name of the component.

Parameters:

name - the name value to set.

Returns:

the SecretsProvisioningComponent object itself.

withVersion

public SecretsProvisioningComponent withVersion(String version)

Set the version property: The version of the component.

Parameters:

version - the version value to set.

Returns:

the SecretsProvisioningComponent object itself.

Applies to