ShrinkPolicy class

Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.

Constructors

ShrinkPolicy({int? decommissionTimeout, InstanceResizePolicy? instanceResizePolicy})
ShrinkPolicy.fromJson(Map<String, dynamic> json)
factory

Properties

decommissionTimeout int?
The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.
final
hashCode int
The hash code for this object.
no setterinherited
instanceResizePolicy InstanceResizePolicy?
Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited