Endpoints Class

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

Implements

public final class Endpoints
implements JsonSerializable<Endpoints>

The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object.

Constructor Summary

Constructor Description
Endpoints()

Creates an instance of Endpoints class.

Method Summary

Modifier and Type Method and Description
String blob()

Get the blob property: Gets the blob endpoint.

String dfs()

Get the dfs property: Gets the dfs endpoint.

String file()

Get the file property: Gets the file endpoint.

static Endpoints fromJson(JsonReader jsonReader)

Reads an instance of Endpoints from the JsonReader.

StorageAccountInternetEndpoints internetEndpoints()

Get the internetEndpoints property: Gets the internet routing storage endpoints.

StorageAccountMicrosoftEndpoints microsoftEndpoints()

Get the microsoftEndpoints property: Gets the microsoft routing storage endpoints.

String queue()

Get the queue property: Gets the queue endpoint.

String table()

Get the table property: Gets the table endpoint.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String web()

Get the web property: Gets the web endpoint.

Endpoints withInternetEndpoints(StorageAccountInternetEndpoints internetEndpoints)

Set the internetEndpoints property: Gets the internet routing storage endpoints.

Endpoints withMicrosoftEndpoints(StorageAccountMicrosoftEndpoints microsoftEndpoints)

Set the microsoftEndpoints property: Gets the microsoft routing storage endpoints.

Methods inherited from java.lang.Object

Constructor Details

Endpoints

public Endpoints()

Creates an instance of Endpoints class.

Method Details

blob

public String blob()

Get the blob property: Gets the blob endpoint.

Returns:

the blob value.

dfs

public String dfs()

Get the dfs property: Gets the dfs endpoint.

Returns:

the dfs value.

file

public String file()

Get the file property: Gets the file endpoint.

Returns:

the file value.

fromJson

public static Endpoints fromJson(JsonReader jsonReader)

Reads an instance of Endpoints from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

internetEndpoints

public StorageAccountInternetEndpoints internetEndpoints()

Get the internetEndpoints property: Gets the internet routing storage endpoints.

Returns:

the internetEndpoints value.

microsoftEndpoints

public StorageAccountMicrosoftEndpoints microsoftEndpoints()

Get the microsoftEndpoints property: Gets the microsoft routing storage endpoints.

Returns:

the microsoftEndpoints value.

queue

public String queue()

Get the queue property: Gets the queue endpoint.

Returns:

the queue value.

table

public String table()

Get the table property: Gets the table endpoint.

Returns:

the table value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

web

public String web()

Get the web property: Gets the web endpoint.

Returns:

the web value.

withInternetEndpoints

public Endpoints withInternetEndpoints(StorageAccountInternetEndpoints internetEndpoints)

Set the internetEndpoints property: Gets the internet routing storage endpoints.

Parameters:

internetEndpoints - the internetEndpoints value to set.

Returns:

the Endpoints object itself.

withMicrosoftEndpoints

public Endpoints withMicrosoftEndpoints(StorageAccountMicrosoftEndpoints microsoftEndpoints)

Set the microsoftEndpoints property: Gets the microsoft routing storage endpoints.

Parameters:

microsoftEndpoints - the microsoftEndpoints value to set.

Returns:

the Endpoints object itself.

Applies to