SecretsProvisioningComponent Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SecretsProvisioningComponent
- com.
Implements
public final class SecretsProvisioningComponent
implements JsonSerializable<SecretsProvisioningComponent>
Describes a component involved in secrets provisioning.
Constructor Summary
| Constructor | Description |
|---|---|
| SecretsProvisioningComponent() |
Creates an instance of Secrets |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Secrets |
fromJson(JsonReader jsonReader)
Reads an instance of Secrets |
|
Secrets |
name()
Get the name property: The name of the component. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
version()
Get the version property: The version of the component. |
|
Secrets |
withName(SecretsProvisioningComponentName name)
Set the name property: The name of the component. |
|
Secrets |
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:
Returns:
Throws:
name
public SecretsProvisioningComponentName name()
Get the name property: The name of the component.
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: The version of the component.
Returns:
withName
public SecretsProvisioningComponent withName(SecretsProvisioningComponentName name)
Set the name property: The name of the component.
Parameters:
Returns:
withVersion
public SecretsProvisioningComponent withVersion(String version)
Set the version property: The version of the component.
Parameters:
Returns: