Share via


FileStorageInfoInner Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.fluent.models.FileStorageInfoInner

Implements

public final class FileStorageInfoInner
implements JsonSerializable<FileStorageInfoInner>

File storage information.

Constructor Summary

Constructor Description
FileStorageInfoInner()

Creates an instance of FileStorageInfoInner class.

Method Summary

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

Reads an instance of FileStorageInfoInner from the JsonReader.

Map<String,String> headers()

Get the headers property: Dictionary of <string>.

JsonWriter toJson(JsonWriter jsonWriter)
String uri()

Get the uri property: A URI that can be used to access the file content.

void validate()

Validates the instance.

FileStorageInfoInner withHeaders(Map<String,String> headers)

Set the headers property: Dictionary of <string>.

FileStorageInfoInner withUri(String uri)

Set the uri property: A URI that can be used to access the file content.

Methods inherited from java.lang.Object

Constructor Details

FileStorageInfoInner

public FileStorageInfoInner()

Creates an instance of FileStorageInfoInner class.

Method Details

fromJson

public static FileStorageInfoInner fromJson(JsonReader jsonReader)

Reads an instance of FileStorageInfoInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

headers

public Map<String,String> headers()

Get the headers property: Dictionary of <string>.

Returns:

the headers value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uri

public String uri()

Get the uri property: A URI that can be used to access the file content.

Returns:

the uri value.

validate

public void validate()

Validates the instance.

withHeaders

public FileStorageInfoInner withHeaders(Map<String,String> headers)

Set the headers property: Dictionary of <string>.

Parameters:

headers - the headers value to set.

Returns:

the FileStorageInfoInner object itself.

withUri

public FileStorageInfoInner withUri(String uri)

Set the uri property: A URI that can be used to access the file content.

Parameters:

uri - the uri value to set.

Returns:

the FileStorageInfoInner object itself.

Applies to