Name | Type | Description | Notes |
---|---|---|---|
Enabled | Pointer to bool | Whether auto scaling policy is enabled. | [optional] |
MaxSize | Pointer to string | Maximum size Rockset can auto scale the Virtual Instance to. This value should be one of the dedicated sizes greater than or same as the min_size and lower than or same as the current size. | [optional] |
MinSize | Pointer to string | Minimum size Rockset can auto scale the Virtual Instance to. This value should be one of the dedicated sizes lower than or same as the max_size and greater than or same as the current size. | [optional] |
func NewAutoScalingPolicy() *AutoScalingPolicy
NewAutoScalingPolicy instantiates a new AutoScalingPolicy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAutoScalingPolicyWithDefaults() *AutoScalingPolicy
NewAutoScalingPolicyWithDefaults instantiates a new AutoScalingPolicy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *AutoScalingPolicy) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *AutoScalingPolicy) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingPolicy) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *AutoScalingPolicy) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *AutoScalingPolicy) GetMaxSize() string
GetMaxSize returns the MaxSize field if non-nil, zero value otherwise.
func (o *AutoScalingPolicy) GetMaxSizeOk() (*string, bool)
GetMaxSizeOk returns a tuple with the MaxSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingPolicy) SetMaxSize(v string)
SetMaxSize sets MaxSize field to given value.
func (o *AutoScalingPolicy) HasMaxSize() bool
HasMaxSize returns a boolean if a field has been set.
func (o *AutoScalingPolicy) GetMinSize() string
GetMinSize returns the MinSize field if non-nil, zero value otherwise.
func (o *AutoScalingPolicy) GetMinSizeOk() (*string, bool)
GetMinSizeOk returns a tuple with the MinSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingPolicy) SetMinSize(v string)
SetMinSize sets MinSize field to given value.
func (o *AutoScalingPolicy) HasMinSize() bool
HasMinSize returns a boolean if a field has been set.