Class FleetspaceAccountPropertiesGlobalDatabaseAccountProperties
java.lang.Object
com.azure.resourcemanager.cosmos.models.FleetspaceAccountPropertiesGlobalDatabaseAccountProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FleetspaceAccountPropertiesGlobalDatabaseAccountProperties>
public final class FleetspaceAccountPropertiesGlobalDatabaseAccountProperties
extends Object
implements com.azure.json.JsonSerializable<FleetspaceAccountPropertiesGlobalDatabaseAccountProperties>
Configuration for fleetspace Account in the fleetspace.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FleetspaceAccountPropertiesGlobalDatabaseAccountProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the armLocation property: The location of global database account in the Fleetspace Account.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FleetspaceAccountPropertiesGlobalDatabaseAccountProperties from the JsonReader.Get the resourceId property: The resource identifier of global database account in the Fleetspace Account.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withArmLocation(String armLocation) Set the armLocation property: The location of global database account in the Fleetspace Account.withResourceId(String resourceId) Set the resourceId property: The resource identifier of global database account in the Fleetspace Account.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
FleetspaceAccountPropertiesGlobalDatabaseAccountProperties
public FleetspaceAccountPropertiesGlobalDatabaseAccountProperties()Creates an instance of FleetspaceAccountPropertiesGlobalDatabaseAccountProperties class.
-
-
Method Details
-
resourceId
Get the resourceId property: The resource identifier of global database account in the Fleetspace Account.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: The resource identifier of global database account in the Fleetspace Account.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the FleetspaceAccountPropertiesGlobalDatabaseAccountProperties object itself.
-
armLocation
Get the armLocation property: The location of global database account in the Fleetspace Account.- Returns:
- the armLocation value.
-
withArmLocation
public FleetspaceAccountPropertiesGlobalDatabaseAccountProperties withArmLocation(String armLocation) Set the armLocation property: The location of global database account in the Fleetspace Account.- Parameters:
armLocation- the armLocation value to set.- Returns:
- the FleetspaceAccountPropertiesGlobalDatabaseAccountProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<FleetspaceAccountPropertiesGlobalDatabaseAccountProperties>- Throws:
IOException
-
fromJson
public static FleetspaceAccountPropertiesGlobalDatabaseAccountProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FleetspaceAccountPropertiesGlobalDatabaseAccountProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FleetspaceAccountPropertiesGlobalDatabaseAccountProperties 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 FleetspaceAccountPropertiesGlobalDatabaseAccountProperties.
-