UefiKey Class

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

Implements

public final class UefiKey
implements JsonSerializable<UefiKey>

A UEFI key signature.

Constructor Summary

Constructor Description
UefiKey()

Creates an instance of UefiKey class.

Method Summary

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

Reads an instance of UefiKey from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
UefiKeyType type()

Get the type property: The type of key signature.

void validate()

Validates the instance.

List<String> value()

Get the value property: The value of the key signature.

UefiKey withType(UefiKeyType type)

Set the type property: The type of key signature.

UefiKey withValue(List<String> value)

Set the value property: The value of the key signature.

Methods inherited from java.lang.Object

Constructor Details

UefiKey

public UefiKey()

Creates an instance of UefiKey class.

Method Details

fromJson

public static UefiKey fromJson(JsonReader jsonReader)

Reads an instance of UefiKey from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public UefiKeyType type()

Get the type property: The type of key signature.

Returns:

the type value.

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: The value of the key signature.

Returns:

the value value.

withType

public UefiKey withType(UefiKeyType type)

Set the type property: The type of key signature.

Parameters:

type - the type value to set.

Returns:

the UefiKey object itself.

withValue

public UefiKey withValue(List value)

Set the value property: The value of the key signature.

Parameters:

value - the value value to set.

Returns:

the UefiKey object itself.

Applies to