FleetspaceAccountProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.fluent.models.FleetspaceAccountProperties

Implements

public final class FleetspaceAccountProperties
implements JsonSerializable<FleetspaceAccountProperties>

An Azure Cosmos DB Global Database Account which is part of a Fleetspace Account.

Constructor Summary

Constructor Description
FleetspaceAccountProperties()

Creates an instance of FleetspaceAccountProperties class.

Method Summary

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

Reads an instance of FleetspaceAccountProperties from the JsonReader.

FleetspaceAccountPropertiesGlobalDatabaseAccountProperties globalDatabaseAccountProperties()

Get the globalDatabaseAccountProperties property: Configuration for fleetspace Account in the fleetspace.

Status provisioningState()

Get the provisioningState property: A provisioning state of the Fleetspace Account.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FleetspaceAccountProperties withGlobalDatabaseAccountProperties(FleetspaceAccountPropertiesGlobalDatabaseAccountProperties globalDatabaseAccountProperties)

Set the globalDatabaseAccountProperties property: Configuration for fleetspace Account in the fleetspace.

FleetspaceAccountProperties withProvisioningState(Status provisioningState)

Set the provisioningState property: A provisioning state of the Fleetspace Account.

Methods inherited from java.lang.Object

Constructor Details

FleetspaceAccountProperties

public FleetspaceAccountProperties()

Creates an instance of FleetspaceAccountProperties class.

Method Details

fromJson

public static FleetspaceAccountProperties fromJson(JsonReader jsonReader)

Reads an instance of FleetspaceAccountProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

globalDatabaseAccountProperties

public FleetspaceAccountPropertiesGlobalDatabaseAccountProperties globalDatabaseAccountProperties()

Get the globalDatabaseAccountProperties property: Configuration for fleetspace Account in the fleetspace.

Returns:

the globalDatabaseAccountProperties value.

provisioningState

public Status provisioningState()

Get the provisioningState property: A provisioning state of the Fleetspace Account.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withGlobalDatabaseAccountProperties

public FleetspaceAccountProperties withGlobalDatabaseAccountProperties(FleetspaceAccountPropertiesGlobalDatabaseAccountProperties globalDatabaseAccountProperties)

Set the globalDatabaseAccountProperties property: Configuration for fleetspace Account in the fleetspace.

Parameters:

globalDatabaseAccountProperties - the globalDatabaseAccountProperties value to set.

Returns:

the FleetspaceAccountProperties object itself.

withProvisioningState

public FleetspaceAccountProperties withProvisioningState(Status provisioningState)

Set the provisioningState property: A provisioning state of the Fleetspace Account.

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the FleetspaceAccountProperties object itself.

Applies to