SecretProperties Class

public final class SecretProperties
extends AfdStateProperties

The JSON object that contains the properties of the Secret to create.

Constructor Summary

Constructor Description
SecretProperties()

Creates an instance of SecretProperties class.

Method Summary

Modifier and Type Method and Description
DeploymentStatus deploymentStatus()

Get the deploymentStatus property: The deploymentStatus property.

static SecretProperties fromJson(JsonReader jsonReader)

Reads an instance of SecretProperties from the JsonReader.

SecretParameters parameters()

Get the parameters property: object which contains secret parameters.

String profileName()

Get the profileName property: The name of the profile which holds the secret.

AfdProvisioningState provisioningState()

Get the provisioningState property: Provisioning status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SecretProperties withParameters(SecretParameters parameters)

Set the parameters property: object which contains secret parameters.

Methods inherited from AfdStateProperties

Methods inherited from java.lang.Object

Constructor Details

SecretProperties

public SecretProperties()

Creates an instance of SecretProperties class.

Method Details

deploymentStatus

public DeploymentStatus deploymentStatus()

Get the deploymentStatus property: The deploymentStatus property.

Overrides:

SecretProperties.deploymentStatus()

Returns:

the deploymentStatus value.

fromJson

public static SecretProperties fromJson(JsonReader jsonReader)

Reads an instance of SecretProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

parameters

public SecretParameters parameters()

Get the parameters property: object which contains secret parameters.

Returns:

the parameters value.

profileName

public String profileName()

Get the profileName property: The name of the profile which holds the secret.

Returns:

the profileName value.

provisioningState

public AfdProvisioningState provisioningState()

Get the provisioningState property: Provisioning status.

Overrides:

SecretProperties.provisioningState()

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SecretProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

SecretProperties.validate()

withParameters

public SecretProperties withParameters(SecretParameters parameters)

Set the parameters property: object which contains secret parameters.

Parameters:

parameters - the parameters value to set.

Returns:

the SecretProperties object itself.

Applies to