Name | Type | Description | Notes |
---|---|---|---|
Id | string | The Auto Scaling Group unique identifier | |
Type | AutoScalingGroupType | ||
State | AutoScalingGroupState | ||
DesiredAmount | NullableInt32 | Number of instances that should be running | |
Region | RegionName | ||
Reference | string | The identifying name set to the auto scaling group | |
CreatedAt | time.Time | Date and time when the Auto Scaling Group was created | |
UpdatedAt | time.Time | Date and time when the Auto Scaling Group was last updated | |
StartsAt | NullableTime | Only for "SCHEDULED" auto scaling group. Date and time (UTC) that the instances need to be launched | |
EndsAt | NullableTime | Only for "SCHEDULED" auto scaling group. Date and time (UTC) that the instances need to be terminated | |
MinimumAmount | NullableInt32 | The minimum number of instances that should be running | |
MaximumAmount | NullableInt32 | Only for "CPU_BASED" auto scaling group. The maximum number of instances that can be running | |
CpuThreshold | NullableInt32 | Only for "CPU_BASED" auto scaling group. The target average CPU utilization for scaling | |
WarmupTime | NullableInt32 | Only for "CPU_BASED" auto scaling group. Warm-up time in seconds for new instances | |
CooldownTime | NullableInt32 | Only for "CPU_BASED" auto scaling group. Cool-down time in seconds for new instances | |
TargetGroups | []TargetGroup |
func NewAutoScalingGroupDetails(id string, type_ AutoScalingGroupType, state AutoScalingGroupState, desiredAmount NullableInt32, region RegionName, reference string, createdAt time.Time, updatedAt time.Time, startsAt NullableTime, endsAt NullableTime, minimumAmount NullableInt32, maximumAmount NullableInt32, cpuThreshold NullableInt32, warmupTime NullableInt32, cooldownTime NullableInt32, targetGroups []TargetGroup, ) *AutoScalingGroupDetails
NewAutoScalingGroupDetails instantiates a new AutoScalingGroupDetails 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 NewAutoScalingGroupDetailsWithDefaults() *AutoScalingGroupDetails
NewAutoScalingGroupDetailsWithDefaults instantiates a new AutoScalingGroupDetails 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 *AutoScalingGroupDetails) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetId(v string)
SetId sets Id field to given value.
func (o *AutoScalingGroupDetails) GetType() AutoScalingGroupType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetTypeOk() (*AutoScalingGroupType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetType(v AutoScalingGroupType)
SetType sets Type field to given value.
func (o *AutoScalingGroupDetails) GetState() AutoScalingGroupState
GetState returns the State field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetStateOk() (*AutoScalingGroupState, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetState(v AutoScalingGroupState)
SetState sets State field to given value.
func (o *AutoScalingGroupDetails) GetDesiredAmount() int32
GetDesiredAmount returns the DesiredAmount field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetDesiredAmountOk() (*int32, bool)
GetDesiredAmountOk returns a tuple with the DesiredAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetDesiredAmount(v int32)
SetDesiredAmount sets DesiredAmount field to given value.
func (o *AutoScalingGroupDetails) SetDesiredAmountNil(b bool)
SetDesiredAmountNil sets the value for DesiredAmount to be an explicit nil
func (o *AutoScalingGroupDetails) UnsetDesiredAmount()
UnsetDesiredAmount ensures that no value is present for DesiredAmount, not even an explicit nil
func (o *AutoScalingGroupDetails) GetRegion() RegionName
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetRegionOk() (*RegionName, bool)
GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetRegion(v RegionName)
SetRegion sets Region field to given value.
func (o *AutoScalingGroupDetails) GetReference() string
GetReference returns the Reference field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetReferenceOk() (*string, bool)
GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetReference(v string)
SetReference sets Reference field to given value.
func (o *AutoScalingGroupDetails) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *AutoScalingGroupDetails) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *AutoScalingGroupDetails) GetStartsAt() time.Time
GetStartsAt returns the StartsAt field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetStartsAtOk() (*time.Time, bool)
GetStartsAtOk returns a tuple with the StartsAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetStartsAt(v time.Time)
SetStartsAt sets StartsAt field to given value.
func (o *AutoScalingGroupDetails) SetStartsAtNil(b bool)
SetStartsAtNil sets the value for StartsAt to be an explicit nil
func (o *AutoScalingGroupDetails) UnsetStartsAt()
UnsetStartsAt ensures that no value is present for StartsAt, not even an explicit nil
func (o *AutoScalingGroupDetails) GetEndsAt() time.Time
GetEndsAt returns the EndsAt field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetEndsAtOk() (*time.Time, bool)
GetEndsAtOk returns a tuple with the EndsAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetEndsAt(v time.Time)
SetEndsAt sets EndsAt field to given value.
func (o *AutoScalingGroupDetails) SetEndsAtNil(b bool)
SetEndsAtNil sets the value for EndsAt to be an explicit nil
func (o *AutoScalingGroupDetails) UnsetEndsAt()
UnsetEndsAt ensures that no value is present for EndsAt, not even an explicit nil
func (o *AutoScalingGroupDetails) GetMinimumAmount() int32
GetMinimumAmount returns the MinimumAmount field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetMinimumAmountOk() (*int32, bool)
GetMinimumAmountOk returns a tuple with the MinimumAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetMinimumAmount(v int32)
SetMinimumAmount sets MinimumAmount field to given value.
func (o *AutoScalingGroupDetails) SetMinimumAmountNil(b bool)
SetMinimumAmountNil sets the value for MinimumAmount to be an explicit nil
func (o *AutoScalingGroupDetails) UnsetMinimumAmount()
UnsetMinimumAmount ensures that no value is present for MinimumAmount, not even an explicit nil
func (o *AutoScalingGroupDetails) GetMaximumAmount() int32
GetMaximumAmount returns the MaximumAmount field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetMaximumAmountOk() (*int32, bool)
GetMaximumAmountOk returns a tuple with the MaximumAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetMaximumAmount(v int32)
SetMaximumAmount sets MaximumAmount field to given value.
func (o *AutoScalingGroupDetails) SetMaximumAmountNil(b bool)
SetMaximumAmountNil sets the value for MaximumAmount to be an explicit nil
func (o *AutoScalingGroupDetails) UnsetMaximumAmount()
UnsetMaximumAmount ensures that no value is present for MaximumAmount, not even an explicit nil
func (o *AutoScalingGroupDetails) GetCpuThreshold() int32
GetCpuThreshold returns the CpuThreshold field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetCpuThresholdOk() (*int32, bool)
GetCpuThresholdOk returns a tuple with the CpuThreshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetCpuThreshold(v int32)
SetCpuThreshold sets CpuThreshold field to given value.
func (o *AutoScalingGroupDetails) SetCpuThresholdNil(b bool)
SetCpuThresholdNil sets the value for CpuThreshold to be an explicit nil
func (o *AutoScalingGroupDetails) UnsetCpuThreshold()
UnsetCpuThreshold ensures that no value is present for CpuThreshold, not even an explicit nil
func (o *AutoScalingGroupDetails) GetWarmupTime() int32
GetWarmupTime returns the WarmupTime field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetWarmupTimeOk() (*int32, bool)
GetWarmupTimeOk returns a tuple with the WarmupTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetWarmupTime(v int32)
SetWarmupTime sets WarmupTime field to given value.
func (o *AutoScalingGroupDetails) SetWarmupTimeNil(b bool)
SetWarmupTimeNil sets the value for WarmupTime to be an explicit nil
func (o *AutoScalingGroupDetails) UnsetWarmupTime()
UnsetWarmupTime ensures that no value is present for WarmupTime, not even an explicit nil
func (o *AutoScalingGroupDetails) GetCooldownTime() int32
GetCooldownTime returns the CooldownTime field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetCooldownTimeOk() (*int32, bool)
GetCooldownTimeOk returns a tuple with the CooldownTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetCooldownTime(v int32)
SetCooldownTime sets CooldownTime field to given value.
func (o *AutoScalingGroupDetails) SetCooldownTimeNil(b bool)
SetCooldownTimeNil sets the value for CooldownTime to be an explicit nil
func (o *AutoScalingGroupDetails) UnsetCooldownTime()
UnsetCooldownTime ensures that no value is present for CooldownTime, not even an explicit nil
func (o *AutoScalingGroupDetails) GetTargetGroups() []TargetGroup
GetTargetGroups returns the TargetGroups field if non-nil, zero value otherwise.
func (o *AutoScalingGroupDetails) GetTargetGroupsOk() (*[]TargetGroup, bool)
GetTargetGroupsOk returns a tuple with the TargetGroups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AutoScalingGroupDetails) SetTargetGroups(v []TargetGroup)
SetTargetGroups sets TargetGroups field to given value.