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

com.aliyun.sdk.service.cloudapi20160701.models.ModifyInstanceAttributeRequest Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160701.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

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

ModifyInstanceAttributeRequest

*/ public class ModifyInstanceAttributeRequest extends Request { @Query @NameInMap("HttpsPolicy") private String httpsPolicy; @Query @NameInMap("InstanceId") @Validation(required = true) private String instanceId; @Query @NameInMap("InstanceName") private String instanceName; @Query @NameInMap("Token") private String token; private ModifyInstanceAttributeRequest(Builder builder) { super(builder); this.httpsPolicy = builder.httpsPolicy; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.token = builder.token; } public static Builder builder() { return new Builder(); } public static ModifyInstanceAttributeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return httpsPolicy */ public String getHttpsPolicy() { return this.httpsPolicy; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return token */ public String getToken() { return this.token; } public static final class Builder extends Request.Builder { private String httpsPolicy; private String instanceId; private String instanceName; private String token; private Builder() { super(); } private Builder(ModifyInstanceAttributeRequest request) { super(request); this.httpsPolicy = request.httpsPolicy; this.instanceId = request.instanceId; this.instanceName = request.instanceName; this.token = request.token; } /** * HttpsPolicy. */ public Builder httpsPolicy(String httpsPolicy) { this.putQueryParameter("HttpsPolicy", httpsPolicy); this.httpsPolicy = httpsPolicy; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * InstanceName. */ public Builder instanceName(String instanceName) { this.putQueryParameter("InstanceName", instanceName); this.instanceName = instanceName; return this; } /** * Token. */ public Builder token(String token) { this.putQueryParameter("Token", token); this.token = token; return this; } @Override public ModifyInstanceAttributeRequest build() { return new ModifyInstanceAttributeRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy