All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.ens20171110.models.ReinitInstanceRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link ReinitInstanceRequest} extends {@link RequestModel}
 *
 * 

ReinitInstanceRequest

*/ public class ReinitInstanceRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ImageId") @com.aliyun.core.annotation.Validation(required = true) private String imageId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("InstanceId") @com.aliyun.core.annotation.Validation(required = true) private String instanceId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Password") private String password; private ReinitInstanceRequest(Builder builder) { super(builder); this.imageId = builder.imageId; this.instanceId = builder.instanceId; this.password = builder.password; } public static Builder builder() { return new Builder(); } public static ReinitInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return imageId */ public String getImageId() { return this.imageId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return password */ public String getPassword() { return this.password; } public static final class Builder extends Request.Builder { private String imageId; private String instanceId; private String password; private Builder() { super(); } private Builder(ReinitInstanceRequest request) { super(request); this.imageId = request.imageId; this.instanceId = request.instanceId; this.password = request.password; } /** *

The ID of the image file that is used to reset the instance.

*

This parameter is required.

* * example: *

m-5wn1dhz5syoo9b48f440ntvad

*/ public Builder imageId(String imageId) { this.putBodyParameter("ImageId", imageId); this.imageId = imageId; return this; } /** *

The ID of the instance.

*

This parameter is required.

* * example: *

i-5vn4n3y4laeb2ii9zxxltlvzi

*/ public Builder instanceId(String instanceId) { this.putBodyParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** *

The password of the instance.

*

It must be 8 to 30 characters in length. It must include at least three of the following characters types: uppercase letters, lowercase letters, digits, and special characters. The following special character are supported: ()\"~! @#$%^&*-_+={}[]:;\"<>,.?/

* * example: *
*/ public Builder password(String password) { this.putBodyParameter("Password", password); this.password = password; return this; } @Override public ReinitInstanceRequest build() { return new ReinitInstanceRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy