StorageProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.largeinstance.models.StorageProperties

Implements

public final class StorageProperties
implements JsonSerializable<StorageProperties>

described the storage properties of the azure large storage instance.

Constructor Summary

Constructor Description
StorageProperties()

Creates an instance of StorageProperties class.

Method Summary

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

Reads an instance of StorageProperties from the JsonReader.

String generation()

Get the generation property: the kind of storage instance.

AzureLargeInstanceHardwareTypeNamesEnum hardwareType()

Get the hardwareType property: the hardware type of the storage instance.

String offeringType()

Get the offeringType property: the offering type for which the resource is getting provisioned.

ProvisioningState provisioningState()

Get the provisioningState property: State of provisioning of the AzureLargeStorageInstance.

StorageBillingProperties storageBillingProperties()

Get the storageBillingProperties property: the billing related information for the resource.

String storageType()

Get the storageType property: the storage protocol for which the resource is getting provisioned.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

StorageProperties withGeneration(String generation)

Set the generation property: the kind of storage instance.

StorageProperties withHardwareType(AzureLargeInstanceHardwareTypeNamesEnum hardwareType)

Set the hardwareType property: the hardware type of the storage instance.

StorageProperties withOfferingType(String offeringType)

Set the offeringType property: the offering type for which the resource is getting provisioned.

StorageProperties withStorageBillingProperties(StorageBillingProperties storageBillingProperties)

Set the storageBillingProperties property: the billing related information for the resource.

StorageProperties withStorageType(String storageType)

Set the storageType property: the storage protocol for which the resource is getting provisioned.

StorageProperties withWorkloadType(String workloadType)

Set the workloadType property: the workload for which the resource is getting provisioned.

String workloadType()

Get the workloadType property: the workload for which the resource is getting provisioned.

Methods inherited from java.lang.Object

Constructor Details

StorageProperties

public StorageProperties()

Creates an instance of StorageProperties class.

Method Details

fromJson

public static StorageProperties fromJson(JsonReader jsonReader)

Reads an instance of StorageProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

generation

public String generation()

Get the generation property: the kind of storage instance.

Returns:

the generation value.

hardwareType

public AzureLargeInstanceHardwareTypeNamesEnum hardwareType()

Get the hardwareType property: the hardware type of the storage instance.

Returns:

the hardwareType value.

offeringType

public String offeringType()

Get the offeringType property: the offering type for which the resource is getting provisioned.

Returns:

the offeringType value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: State of provisioning of the AzureLargeStorageInstance.

Returns:

the provisioningState value.

storageBillingProperties

public StorageBillingProperties storageBillingProperties()

Get the storageBillingProperties property: the billing related information for the resource.

Returns:

the storageBillingProperties value.

storageType

public String storageType()

Get the storageType property: the storage protocol for which the resource is getting provisioned.

Returns:

the storageType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withGeneration

public StorageProperties withGeneration(String generation)

Set the generation property: the kind of storage instance.

Parameters:

generation - the generation value to set.

Returns:

the StorageProperties object itself.

withHardwareType

public StorageProperties withHardwareType(AzureLargeInstanceHardwareTypeNamesEnum hardwareType)

Set the hardwareType property: the hardware type of the storage instance.

Parameters:

hardwareType - the hardwareType value to set.

Returns:

the StorageProperties object itself.

withOfferingType

public StorageProperties withOfferingType(String offeringType)

Set the offeringType property: the offering type for which the resource is getting provisioned.

Parameters:

offeringType - the offeringType value to set.

Returns:

the StorageProperties object itself.

withStorageBillingProperties

public StorageProperties withStorageBillingProperties(StorageBillingProperties storageBillingProperties)

Set the storageBillingProperties property: the billing related information for the resource.

Parameters:

storageBillingProperties - the storageBillingProperties value to set.

Returns:

the StorageProperties object itself.

withStorageType

public StorageProperties withStorageType(String storageType)

Set the storageType property: the storage protocol for which the resource is getting provisioned.

Parameters:

storageType - the storageType value to set.

Returns:

the StorageProperties object itself.

withWorkloadType

public StorageProperties withWorkloadType(String workloadType)

Set the workloadType property: the workload for which the resource is getting provisioned.

Parameters:

workloadType - the workloadType value to set.

Returns:

the StorageProperties object itself.

workloadType

public String workloadType()

Get the workloadType property: the workload for which the resource is getting provisioned.

Returns:

the workloadType value.

Applies to