@@ -70,6 +70,13 @@ final class PendingModifiedValues
7070 */
7171 private $ transitEncryptionMode ;
7272
73+ /**
74+ * The scaling configuration changes that are pending for the Memcached cluster.
75+ *
76+ * @var ScaleConfig|null
77+ */
78+ private $ scaleConfig ;
79+
7380 /**
7481 * @param array{
7582 * NumCacheNodes?: null|int,
@@ -80,6 +87,7 @@ final class PendingModifiedValues
8087 * LogDeliveryConfigurations?: null|array<PendingLogDeliveryConfiguration|array>,
8188 * TransitEncryptionEnabled?: null|bool,
8289 * TransitEncryptionMode?: null|TransitEncryptionMode::*,
90+ * ScaleConfig?: null|ScaleConfig|array,
8391 * } $input
8492 */
8593 public function __construct (array $ input )
@@ -92,6 +100,7 @@ public function __construct(array $input)
92100 $ this ->logDeliveryConfigurations = isset ($ input ['LogDeliveryConfigurations ' ]) ? array_map ([PendingLogDeliveryConfiguration::class, 'create ' ], $ input ['LogDeliveryConfigurations ' ]) : null ;
93101 $ this ->transitEncryptionEnabled = $ input ['TransitEncryptionEnabled ' ] ?? null ;
94102 $ this ->transitEncryptionMode = $ input ['TransitEncryptionMode ' ] ?? null ;
103+ $ this ->scaleConfig = isset ($ input ['ScaleConfig ' ]) ? ScaleConfig::create ($ input ['ScaleConfig ' ]) : null ;
95104 }
96105
97106 /**
@@ -104,6 +113,7 @@ public function __construct(array $input)
104113 * LogDeliveryConfigurations?: null|array<PendingLogDeliveryConfiguration|array>,
105114 * TransitEncryptionEnabled?: null|bool,
106115 * TransitEncryptionMode?: null|TransitEncryptionMode::*,
116+ * ScaleConfig?: null|ScaleConfig|array,
107117 * }|PendingModifiedValues $input
108118 */
109119 public static function create ($ input ): self
@@ -150,6 +160,11 @@ public function getNumCacheNodes(): ?int
150160 return $ this ->numCacheNodes ;
151161 }
152162
163+ public function getScaleConfig (): ?ScaleConfig
164+ {
165+ return $ this ->scaleConfig ;
166+ }
167+
153168 public function getTransitEncryptionEnabled (): ?bool
154169 {
155170 return $ this ->transitEncryptionEnabled ;
0 commit comments