99
1010@ Generated
1111public class PtServedModel {
12+ /**
13+ * Whether burst scaling is enabled. When enabled (default), the endpoint can automatically scale
14+ * up beyond provisioned capacity to handle traffic spikes. When disabled, the endpoint maintains
15+ * fixed capacity at provisioned_model_units.
16+ */
17+ @ JsonProperty ("burst_scaling_enabled" )
18+ private Boolean burstScalingEnabled ;
19+
1220 /**
1321 * The name of the entity to be served. The entity may be a model in the Databricks Model
1422 * Registry, a model in the Unity Catalog (UC), or a function of type FEATURE_SPEC in the UC. If
@@ -35,6 +43,15 @@ public class PtServedModel {
3543 @ JsonProperty ("provisioned_model_units" )
3644 private Long provisionedModelUnits ;
3745
46+ public PtServedModel setBurstScalingEnabled (Boolean burstScalingEnabled ) {
47+ this .burstScalingEnabled = burstScalingEnabled ;
48+ return this ;
49+ }
50+
51+ public Boolean getBurstScalingEnabled () {
52+ return burstScalingEnabled ;
53+ }
54+
3855 public PtServedModel setEntityName (String entityName ) {
3956 this .entityName = entityName ;
4057 return this ;
@@ -76,20 +93,23 @@ public boolean equals(Object o) {
7693 if (this == o ) return true ;
7794 if (o == null || getClass () != o .getClass ()) return false ;
7895 PtServedModel that = (PtServedModel ) o ;
79- return Objects .equals (entityName , that .entityName )
96+ return Objects .equals (burstScalingEnabled , that .burstScalingEnabled )
97+ && Objects .equals (entityName , that .entityName )
8098 && Objects .equals (entityVersion , that .entityVersion )
8199 && Objects .equals (name , that .name )
82100 && Objects .equals (provisionedModelUnits , that .provisionedModelUnits );
83101 }
84102
85103 @ Override
86104 public int hashCode () {
87- return Objects .hash (entityName , entityVersion , name , provisionedModelUnits );
105+ return Objects .hash (
106+ burstScalingEnabled , entityName , entityVersion , name , provisionedModelUnits );
88107 }
89108
90109 @ Override
91110 public String toString () {
92111 return new ToStringer (PtServedModel .class )
112+ .add ("burstScalingEnabled" , burstScalingEnabled )
93113 .add ("entityName" , entityName )
94114 .add ("entityVersion" , entityVersion )
95115 .add ("name" , name )
0 commit comments