FleetspaceResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. cosmos. fluent. models. FleetspaceResourceInner
- com.
- com.
public final class FleetspaceResourceInner
extends ProxyResource
An Azure Cosmos DB Fleetspace.
Constructor Summary
| Constructor | Description |
|---|---|
| FleetspaceResourceInner() |
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 |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| Status |
provisioningState()
Get the provisioning |
|
Fleetspace |
serviceTier()
Get the service |
|
System |
systemData()
Get the system |
|
Fleetspace |
throughputPoolConfiguration()
Get the throughput |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| 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 ProxyResource
Methods inherited from java.lang.Object
Constructor Details
FleetspaceResourceInner
public FleetspaceResourceInner()
Creates an instance of FleetspaceResourceInner 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 FleetspaceResourceInner fromJson(JsonReader jsonReader)
Reads an instance of FleetspaceResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
FleetspaceResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
FleetspaceResourceInner.name()Returns:
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:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
throughputPoolConfiguration
public FleetspacePropertiesThroughputPoolConfiguration throughputPoolConfiguration()
Get the throughputPoolConfiguration property: Configuration for throughput pool in the fleetspace.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FleetspaceResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
FleetspaceResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withDataRegions
public FleetspaceResourceInner withDataRegions(List<String> dataRegions)
Set the dataRegions property: List of data regions assigned to the fleetspace. Eg [westus2].
Parameters:
Returns:
withFleetspaceApiKind
public FleetspaceResourceInner withFleetspaceApiKind(FleetspacePropertiesFleetspaceApiKind fleetspaceApiKind)
Set the fleetspaceApiKind property: The kind of API this fleetspace belongs to. Acceptable values: 'NoSQL'.
Parameters:
Returns:
withProvisioningState
public FleetspaceResourceInner withProvisioningState(Status provisioningState)
Set the provisioningState property: A provisioning state of the Fleetspace.
Parameters:
Returns:
withServiceTier
public FleetspaceResourceInner 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 FleetspaceResourceInner withThroughputPoolConfiguration(FleetspacePropertiesThroughputPoolConfiguration throughputPoolConfiguration)
Set the throughputPoolConfiguration property: Configuration for throughput pool in the fleetspace.
Parameters:
Returns: