StorageContainerInner Class

public final class StorageContainerInner
extends SubResource

Azure Storage blob container information.

Constructor Summary

Constructor Description
StorageContainerInner()

Creates an instance of StorageContainerInner class.

Method Summary

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

Reads an instance of StorageContainerInner from the JsonReader.

OffsetDateTime lastModifiedTime()

Get the lastModifiedTime property: The last modified time of the blob container.

String name()

Get the name property: The resource name.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type.

void validate()

Validates the instance.

StorageContainerInner withId(String id)

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

StorageContainerInner

public StorageContainerInner()

Creates an instance of StorageContainerInner class.

Method Details

fromJson

public static StorageContainerInner fromJson(JsonReader jsonReader)

Reads an instance of StorageContainerInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

lastModifiedTime

public OffsetDateTime lastModifiedTime()

Get the lastModifiedTime property: The last modified time of the blob container.

Returns:

the lastModifiedTime value.

name

public String name()

Get the name property: The resource name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StorageContainerInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public StorageContainerInner withId(String id)

Overrides:

StorageContainerInner.withId(String id)

Parameters:

id

Applies to