TestExistingConnectionRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.TestExistingConnectionRequest

Implements

public final class TestExistingConnectionRequest
implements JsonSerializable<TestExistingConnectionRequest>

Test existing connection request properties.

Constructor Summary

Constructor Description
TestExistingConnectionRequest()

Creates an instance of TestExistingConnectionRequest class.

Method Summary

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

Reads an instance of TestExistingConnectionRequest from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String uniqueId()

Get the uniqueId property: The uniqueId of the storage connector as returned by the server.

void validate()

Validates the instance.

TestExistingConnectionRequest withUniqueId(String uniqueId)

Set the uniqueId property: The uniqueId of the storage connector as returned by the server.

Methods inherited from java.lang.Object

Constructor Details

TestExistingConnectionRequest

public TestExistingConnectionRequest()

Creates an instance of TestExistingConnectionRequest class.

Method Details

fromJson

public static TestExistingConnectionRequest fromJson(JsonReader jsonReader)

Reads an instance of TestExistingConnectionRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TestExistingConnectionRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uniqueId

public String uniqueId()

Get the uniqueId property: The uniqueId of the storage connector as returned by the server.

Returns:

the uniqueId value.

validate

public void validate()

Validates the instance.

withUniqueId

public TestExistingConnectionRequest withUniqueId(String uniqueId)

Set the uniqueId property: The uniqueId of the storage connector as returned by the server.

Parameters:

uniqueId - the uniqueId value to set.

Returns:

the TestExistingConnectionRequest object itself.

Applies to