StorageAccountSharedKeyAccessProperties Class

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

Implements

public final class StorageAccountSharedKeyAccessProperties
implements JsonSerializable<StorageAccountSharedKeyAccessProperties>

Defines shared key access properties for a storage account.

Constructor Summary

Constructor Description
StorageAccountSharedKeyAccessProperties()

Creates an instance of StorageAccountSharedKeyAccessProperties class.

Method Summary

Modifier and Type Method and Description
ServiceSharedKeyAccessProperties blob()

Get the blob property: Shared key access settings for Blob service.

ServiceSharedKeyAccessProperties file()

Get the file property: Shared key access settings for File service.

static StorageAccountSharedKeyAccessProperties fromJson(JsonReader jsonReader)

Reads an instance of StorageAccountSharedKeyAccessProperties from the JsonReader.

ServiceSharedKeyAccessProperties queue()

Get the queue property: Shared key access settings for Queue service.

ServiceSharedKeyAccessProperties table()

Get the table property: Shared key access settings for Table service.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

StorageAccountSharedKeyAccessProperties withBlob(ServiceSharedKeyAccessProperties blob)

Set the blob property: Shared key access settings for Blob service.

StorageAccountSharedKeyAccessProperties withFile(ServiceSharedKeyAccessProperties file)

Set the file property: Shared key access settings for File service.

StorageAccountSharedKeyAccessProperties withQueue(ServiceSharedKeyAccessProperties queue)

Set the queue property: Shared key access settings for Queue service.

StorageAccountSharedKeyAccessProperties withTable(ServiceSharedKeyAccessProperties table)

Set the table property: Shared key access settings for Table service.

Methods inherited from java.lang.Object

Constructor Details

StorageAccountSharedKeyAccessProperties

public StorageAccountSharedKeyAccessProperties()

Creates an instance of StorageAccountSharedKeyAccessProperties class.

Method Details

blob

public ServiceSharedKeyAccessProperties blob()

Get the blob property: Shared key access settings for Blob service.

Returns:

the blob value.

file

public ServiceSharedKeyAccessProperties file()

Get the file property: Shared key access settings for File service.

Returns:

the file value.

fromJson

public static StorageAccountSharedKeyAccessProperties fromJson(JsonReader jsonReader)

Reads an instance of StorageAccountSharedKeyAccessProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

queue

public ServiceSharedKeyAccessProperties queue()

Get the queue property: Shared key access settings for Queue service.

Returns:

the queue value.

table

public ServiceSharedKeyAccessProperties table()

Get the table property: Shared key access settings for Table service.

Returns:

the table value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBlob

public StorageAccountSharedKeyAccessProperties withBlob(ServiceSharedKeyAccessProperties blob)

Set the blob property: Shared key access settings for Blob service.

Parameters:

blob - the blob value to set.

Returns:

the StorageAccountSharedKeyAccessProperties object itself.

withFile

public StorageAccountSharedKeyAccessProperties withFile(ServiceSharedKeyAccessProperties file)

Set the file property: Shared key access settings for File service.

Parameters:

file - the file value to set.

Returns:

the StorageAccountSharedKeyAccessProperties object itself.

withQueue

public StorageAccountSharedKeyAccessProperties withQueue(ServiceSharedKeyAccessProperties queue)

Set the queue property: Shared key access settings for Queue service.

Parameters:

queue - the queue value to set.

Returns:

the StorageAccountSharedKeyAccessProperties object itself.

withTable

public StorageAccountSharedKeyAccessProperties withTable(ServiceSharedKeyAccessProperties table)

Set the table property: Shared key access settings for Table service.

Parameters:

table - the table value to set.

Returns:

the StorageAccountSharedKeyAccessProperties object itself.

Applies to