CloudHsmClusterListResult Class

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

Implements

public final class CloudHsmClusterListResult
implements JsonSerializable<CloudHsmClusterListResult>

List of Cloud HSM Clusters.

Constructor Summary

Constructor Description
CloudHsmClusterListResult()

Creates an instance of CloudHsmClusterListResult class.

Method Summary

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

Reads an instance of CloudHsmClusterListResult from the JsonReader.

String nextLink()

Get the nextLink property: The URL to get the next set of Cloud HSM Clusters.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<CloudHsmClusterInner> value()

Get the value property: The list of Cloud HSM Clusters.

CloudHsmClusterListResult withNextLink(String nextLink)

Set the nextLink property: The URL to get the next set of Cloud HSM Clusters.

CloudHsmClusterListResult withValue(List<CloudHsmClusterInner> value)

Set the value property: The list of Cloud HSM Clusters.

Methods inherited from java.lang.Object

Constructor Details

CloudHsmClusterListResult

public CloudHsmClusterListResult()

Creates an instance of CloudHsmClusterListResult class.

Method Details

fromJson

public static CloudHsmClusterListResult fromJson(JsonReader jsonReader)

Reads an instance of CloudHsmClusterListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: The URL to get the next set of Cloud HSM Clusters.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<CloudHsmClusterInner> value()

Get the value property: The list of Cloud HSM Clusters.

Returns:

the value value.

withNextLink

public CloudHsmClusterListResult withNextLink(String nextLink)

Set the nextLink property: The URL to get the next set of Cloud HSM Clusters.

Parameters:

nextLink - the nextLink value to set.

Returns:

the CloudHsmClusterListResult object itself.

withValue

public CloudHsmClusterListResult withValue(List<CloudHsmClusterInner> value)

Set the value property: The list of Cloud HSM Clusters.

Parameters:

value - the value value to set.

Returns:

the CloudHsmClusterListResult object itself.

Applies to