StorageAccount Class

  • java.lang.Object
    • com.azure.resourcemanager.loganalytics.models.StorageAccount

public final class StorageAccount

Describes a storage account connection.

Constructor Summary

Constructor Description
StorageAccount()

Creates an instance of StorageAccount class.

Method Summary

Modifier and Type Method and Description
String id()

Get the id property: The Azure Resource Manager ID of the storage account resource.

String key()

Get the key property: The storage account key.

void validate()

Validates the instance.

StorageAccount withId(String id)

Set the id property: The Azure Resource Manager ID of the storage account resource.

StorageAccount withKey(String key)

Set the key property: The storage account key.

Methods inherited from java.lang.Object

Constructor Details

StorageAccount

public StorageAccount()

Creates an instance of StorageAccount class.

Method Details

id

public String id()

Get the id property: The Azure Resource Manager ID of the storage account resource.

Returns:

the id value.

key

public String key()

Get the key property: The storage account key.

Returns:

the key value.

validate

public void validate()

Validates the instance.

withId

public StorageAccount withId(String id)

Set the id property: The Azure Resource Manager ID of the storage account resource.

Parameters:

id - the id value to set.

Returns:

the StorageAccount object itself.

withKey

public StorageAccount withKey(String key)

Set the key property: The storage account key.

Parameters:

key - the key value to set.

Returns:

the StorageAccount object itself.

Applies to