Dela via


SecretParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.SecretParameters

Implements

public class SecretParameters
implements JsonSerializable<SecretParameters>

The json object containing secret parameters.

Constructor Summary

Constructor Description
SecretParameters()

Creates an instance of SecretParameters class.

Method Summary

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

Reads an instance of SecretParameters from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
SecretType type()

Get the type property: The type of the secret resource.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

SecretParameters

public SecretParameters()

Creates an instance of SecretParameters class.

Method Details

fromJson

public static SecretParameters fromJson(JsonReader jsonReader)

Reads an instance of SecretParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public SecretType type()

Get the type property: The type of the secret resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to