Compartir a través de


ManagedHsmAction Class

  • java.lang.Object
    • com.azure.resourcemanager.keyvault.models.ManagedHsmAction

Implements

public final class ManagedHsmAction
implements JsonSerializable<ManagedHsmAction>

The ManagedHsmAction model.

Constructor Summary

Constructor Description
ManagedHsmAction()

Creates an instance of ManagedHsmAction class.

Method Summary

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

Reads an instance of ManagedHsmAction from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
KeyRotationPolicyActionType type()

Get the type property: The type of action.

void validate()

Validates the instance.

ManagedHsmAction withType(KeyRotationPolicyActionType type)

Set the type property: The type of action.

Methods inherited from java.lang.Object

Constructor Details

ManagedHsmAction

public ManagedHsmAction()

Creates an instance of ManagedHsmAction class.

Method Details

fromJson

public static ManagedHsmAction fromJson(JsonReader jsonReader)

Reads an instance of ManagedHsmAction from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public KeyRotationPolicyActionType type()

Get the type property: The type of action.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withType

public ManagedHsmAction withType(KeyRotationPolicyActionType type)

Set the type property: The type of action.

Parameters:

type - the type value to set.

Returns:

the ManagedHsmAction object itself.

Applies to