@@ -60,6 +60,9 @@ public class CreateKeyRequest {
6060 @ SerializedName ("ProtectionLevel" )
6161 private String protectionLevel = null ;
6262
63+ @ SerializedName ("RotateInterval" )
64+ private Integer rotateInterval = null ;
65+
6366 @ SerializedName ("RotateState" )
6467 private String rotateState = null ;
6568
@@ -233,6 +236,26 @@ public void setProtectionLevel(String protectionLevel) {
233236 this .protectionLevel = protectionLevel ;
234237 }
235238
239+ public CreateKeyRequest rotateInterval (Integer rotateInterval ) {
240+ this .rotateInterval = rotateInterval ;
241+ return this ;
242+ }
243+
244+ /**
245+ * Get rotateInterval
246+ * minimum: 90
247+ * maximum: 2560
248+ * @return rotateInterval
249+ **/
250+ @ Min (90 ) @ Max (2560 ) @ Schema (description = "" )
251+ public Integer getRotateInterval () {
252+ return rotateInterval ;
253+ }
254+
255+ public void setRotateInterval (Integer rotateInterval ) {
256+ this .rotateInterval = rotateInterval ;
257+ }
258+
236259 public CreateKeyRequest rotateState (String rotateState ) {
237260 this .rotateState = rotateState ;
238261 return this ;
@@ -315,14 +338,15 @@ public boolean equals(java.lang.Object o) {
315338 Objects .equals (this .multiRegion , createKeyRequest .multiRegion ) &&
316339 Objects .equals (this .origin , createKeyRequest .origin ) &&
317340 Objects .equals (this .protectionLevel , createKeyRequest .protectionLevel ) &&
341+ Objects .equals (this .rotateInterval , createKeyRequest .rotateInterval ) &&
318342 Objects .equals (this .rotateState , createKeyRequest .rotateState ) &&
319343 Objects .equals (this .tags , createKeyRequest .tags ) &&
320344 Objects .equals (this .xksKeyID , createKeyRequest .xksKeyID );
321345 }
322346
323347 @ Override
324348 public int hashCode () {
325- return Objects .hash (customKeyStoreID , description , keyName , keySpec , keyUsage , keyringName , multiRegion , origin , protectionLevel , rotateState , tags , xksKeyID );
349+ return Objects .hash (customKeyStoreID , description , keyName , keySpec , keyUsage , keyringName , multiRegion , origin , protectionLevel , rotateInterval , rotateState , tags , xksKeyID );
326350 }
327351
328352
@@ -340,6 +364,7 @@ public String toString() {
340364 sb .append (" multiRegion: " ).append (toIndentedString (multiRegion )).append ("\n " );
341365 sb .append (" origin: " ).append (toIndentedString (origin )).append ("\n " );
342366 sb .append (" protectionLevel: " ).append (toIndentedString (protectionLevel )).append ("\n " );
367+ sb .append (" rotateInterval: " ).append (toIndentedString (rotateInterval )).append ("\n " );
343368 sb .append (" rotateState: " ).append (toIndentedString (rotateState )).append ("\n " );
344369 sb .append (" tags: " ).append (toIndentedString (tags )).append ("\n " );
345370 sb .append (" xksKeyID: " ).append (toIndentedString (xksKeyID )).append ("\n " );
0 commit comments