Class CreatorUpdateParameters
java.lang.Object
com.azure.resourcemanager.maps.models.CreatorUpdateParameters
Parameters used to update an existing Creator resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CreatorUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the provisioningState property: The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled.Get the storageUnits property: The storage units to be allocated.tags()
Get the tags property: Gets or sets a list of key value pairs that describe the resource.void
validate()
Validates the instance.withStorageUnits
(Integer storageUnits) Set the storageUnits property: The storage units to be allocated.Set the tags property: Gets or sets a list of key value pairs that describe the resource.
-
Constructor Details
-
CreatorUpdateParameters
public CreatorUpdateParameters()Creates an instance of CreatorUpdateParameters class.
-
-
Method Details
-
tags
Get the tags property: Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.- Returns:
- the tags value.
-
withTags
Set the tags property: Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters.- Parameters:
tags
- the tags value to set.- Returns:
- the CreatorUpdateParameters object itself.
-
provisioningState
Get the provisioningState property: The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled.- Returns:
- the provisioningState value.
-
storageUnits
Get the storageUnits property: The storage units to be allocated. Integer values from 1 to 100, inclusive.- Returns:
- the storageUnits value.
-
withStorageUnits
Set the storageUnits property: The storage units to be allocated. Integer values from 1 to 100, inclusive.- Parameters:
storageUnits
- the storageUnits value to set.- Returns:
- the CreatorUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-