TestConnectionResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.fluent.models.TestConnectionResponseInner

Implements

public final class TestConnectionResponseInner
implements JsonSerializable<TestConnectionResponseInner>

Test connection response properties.

Method Summary

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

Reads an instance of TestConnectionResponseInner from the JsonReader.

String storageConnectorErrorMessage()

Get the storageConnectorErrorMessage property: A string representing the error received from the backing data store.

String storageConnectorMethodName()

Get the storageConnectorMethodName property: Indicates the method used to validate the connection to the backing data store.

String storageConnectorRequestId()

Get the storageConnectorRequestId property: The request Id associated with the request sent to the backing data store for validation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static TestConnectionResponseInner fromJson(JsonReader jsonReader)

Reads an instance of TestConnectionResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

storageConnectorErrorMessage

public String storageConnectorErrorMessage()

Get the storageConnectorErrorMessage property: A string representing the error received from the backing data store. Format will vary depending on the data store type and will be capped at 1 MB in size. The error message will be empty if the connection was successful.

Returns:

the storageConnectorErrorMessage value.

storageConnectorMethodName

public String storageConnectorMethodName()

Get the storageConnectorMethodName property: Indicates the method used to validate the connection to the backing data store. Valid values are `GetBlob` and `ListBlobs` for failure, and `TestExistingConnection` for success.

Returns:

the storageConnectorMethodName value.

storageConnectorRequestId

public String storageConnectorRequestId()

Get the storageConnectorRequestId property: The request Id associated with the request sent to the backing data store for validation.

Returns:

the storageConnectorRequestId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to