Class GremlinDatabaseGetPropertiesOptions
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.OptionsResource
-
- com.azure.resourcemanager.cosmos.models.GremlinDatabaseGetPropertiesOptions
-
public final class GremlinDatabaseGetPropertiesOptions extends OptionsResource
The GremlinDatabaseGetPropertiesOptions model.
-
-
Constructor Summary
Constructors Constructor Description GremlinDatabaseGetPropertiesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.GremlinDatabaseGetPropertiesOptionswithAutoscaleSettings(AutoscaleSettings autoscaleSettings)Set the autoscaleSettings property: Specifies the Autoscale settings.GremlinDatabaseGetPropertiesOptionswithThroughput(Integer throughput)Set the throughput property: Value of the Cosmos DB resource throughput or autoscaleSettings.-
Methods inherited from class com.azure.resourcemanager.cosmos.models.OptionsResource
autoscaleSettings, throughput
-
-
-
-
Method Detail
-
withThroughput
public GremlinDatabaseGetPropertiesOptions withThroughput(Integer throughput)
Set the throughput property: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.- Overrides:
withThroughputin classOptionsResource- Parameters:
throughput- the throughput value to set.- Returns:
- the OptionsResource object itself.
-
withAutoscaleSettings
public GremlinDatabaseGetPropertiesOptions withAutoscaleSettings(AutoscaleSettings autoscaleSettings)
Set the autoscaleSettings property: Specifies the Autoscale settings.- Overrides:
withAutoscaleSettingsin classOptionsResource- Parameters:
autoscaleSettings- the autoscaleSettings value to set.- Returns:
- the OptionsResource object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classOptionsResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-