FleetspaceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. FleetspaceProperties
- com.
Implements
public final class FleetspaceProperties
implements JsonSerializable<FleetspaceProperties>
Properties to update Azure Cosmos DB Fleetspace.
Constructor Summary
| Constructor | Description |
|---|---|
| FleetspaceProperties() |
Creates an instance of Fleetspace |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
dataRegions()
Get the data |
|
Fleetspace |
fleetspaceApiKind()
Get the fleetspace |
|
static
Fleetspace |
fromJson(JsonReader jsonReader)
Reads an instance of Fleetspace |
| Status |
provisioningState()
Get the provisioning |
|
Fleetspace |
serviceTier()
Get the service |
|
Fleetspace |
throughputPoolConfiguration()
Get the throughput |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Fleetspace |
withDataRegions(List<String> dataRegions)
Set the data |
|
Fleetspace |
withFleetspaceApiKind(FleetspacePropertiesFleetspaceApiKind fleetspaceApiKind)
Set the fleetspace |
|
Fleetspace |
withProvisioningState(Status provisioningState)
Set the provisioning |
|
Fleetspace |
withServiceTier(FleetspacePropertiesServiceTier serviceTier)
Set the service |
|
Fleetspace |
withThroughputPoolConfiguration(FleetspacePropertiesThroughputPoolConfiguration throughputPoolConfiguration)
Set the throughput |
Methods inherited from java.lang.Object
Constructor Details
FleetspaceProperties
public FleetspaceProperties()
Creates an instance of FleetspaceProperties class.
Method Details
dataRegions
public List<String> dataRegions()
Get the dataRegions property: List of data regions assigned to the fleetspace. Eg [westus2].
Returns:
fleetspaceApiKind
public FleetspacePropertiesFleetspaceApiKind fleetspaceApiKind()
Get the fleetspaceApiKind property: The kind of API this fleetspace belongs to. Acceptable values: 'NoSQL'.
Returns:
fromJson
public static FleetspaceProperties fromJson(JsonReader jsonReader)
Reads an instance of FleetspaceProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public Status provisioningState()
Get the provisioningState property: A provisioning state of the Fleetspace.
Returns:
serviceTier
public FleetspacePropertiesServiceTier serviceTier()
Get the serviceTier property: Service Tier for the fleetspace. GeneralPurpose types refers to single write region accounts that can be added to this fleetspace, whereas BusinessCritical refers to multi write region.
Returns:
throughputPoolConfiguration
public FleetspacePropertiesThroughputPoolConfiguration throughputPoolConfiguration()
Get the throughputPoolConfiguration property: Configuration for throughput pool in the fleetspace.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDataRegions
public FleetspaceProperties withDataRegions(List<String> dataRegions)
Set the dataRegions property: List of data regions assigned to the fleetspace. Eg [westus2].
Parameters:
Returns:
withFleetspaceApiKind
public FleetspaceProperties withFleetspaceApiKind(FleetspacePropertiesFleetspaceApiKind fleetspaceApiKind)
Set the fleetspaceApiKind property: The kind of API this fleetspace belongs to. Acceptable values: 'NoSQL'.
Parameters:
Returns:
withProvisioningState
public FleetspaceProperties withProvisioningState(Status provisioningState)
Set the provisioningState property: A provisioning state of the Fleetspace.
Parameters:
Returns:
withServiceTier
public FleetspaceProperties withServiceTier(FleetspacePropertiesServiceTier serviceTier)
Set the serviceTier property: Service Tier for the fleetspace. GeneralPurpose types refers to single write region accounts that can be added to this fleetspace, whereas BusinessCritical refers to multi write region.
Parameters:
Returns:
withThroughputPoolConfiguration
public FleetspaceProperties withThroughputPoolConfiguration(FleetspacePropertiesThroughputPoolConfiguration throughputPoolConfiguration)
Set the throughputPoolConfiguration property: Configuration for throughput pool in the fleetspace.
Parameters:
Returns: