DedicatedHsmListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.hardwaresecuritymodules.models.DedicatedHsmListResult

Implements

public final class DedicatedHsmListResult
implements JsonSerializable<DedicatedHsmListResult>

List of dedicated HSMs.

Constructor Summary

Constructor Description
DedicatedHsmListResult()

Creates an instance of DedicatedHsmListResult class.

Method Summary

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

Reads an instance of DedicatedHsmListResult from the JsonReader.

String nextLink()

Get the nextLink property: The URL to get the next set of dedicated hsms.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<DedicatedHsmInner> value()

Get the value property: The list of dedicated HSMs.

DedicatedHsmListResult withNextLink(String nextLink)

Set the nextLink property: The URL to get the next set of dedicated hsms.

DedicatedHsmListResult withValue(List<DedicatedHsmInner> value)

Set the value property: The list of dedicated HSMs.

Methods inherited from java.lang.Object

Constructor Details

DedicatedHsmListResult

public DedicatedHsmListResult()

Creates an instance of DedicatedHsmListResult class.

Method Details

fromJson

public static DedicatedHsmListResult fromJson(JsonReader jsonReader)

Reads an instance of DedicatedHsmListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The URL to get the next set of dedicated hsms.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<DedicatedHsmInner> value()

Get the value property: The list of dedicated HSMs.

Returns:

the value value.

withNextLink

public DedicatedHsmListResult withNextLink(String nextLink)

Set the nextLink property: The URL to get the next set of dedicated hsms.

Parameters:

nextLink - the nextLink value to set.

Returns:

the DedicatedHsmListResult object itself.

withValue

public DedicatedHsmListResult withValue(List<DedicatedHsmInner> value)

Set the value property: The list of dedicated HSMs.

Parameters:

value - the value value to set.

Returns:

the DedicatedHsmListResult object itself.

Applies to