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

com.aliyun.sdk.service.ens20171110.models.AttachInstanceSDGRequest 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 AttachInstanceSDGRequest} extends {@link RequestModel}
 *
 * 

AttachInstanceSDGRequest

*/ public class AttachInstanceSDGRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceIds") @com.aliyun.core.annotation.Validation(required = true) private java.util.List instanceIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SDGId") @com.aliyun.core.annotation.Validation(required = true) private String SDGId; private AttachInstanceSDGRequest(Builder builder) { super(builder); this.instanceIds = builder.instanceIds; this.SDGId = builder.SDGId; } public static Builder builder() { return new Builder(); } public static AttachInstanceSDGRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return instanceIds */ public java.util.List getInstanceIds() { return this.instanceIds; } /** * @return SDGId */ public String getSDGId() { return this.SDGId; } public static final class Builder extends Request.Builder { private java.util.List instanceIds; private String SDGId; private Builder() { super(); } private Builder(AttachInstanceSDGRequest request) { super(request); this.instanceIds = request.instanceIds; this.SDGId = request.SDGId; } /** *

This parameter is required.

*/ public Builder instanceIds(java.util.List instanceIds) { String instanceIdsShrink = shrink(instanceIds, "InstanceIds", "json"); this.putQueryParameter("InstanceIds", instanceIdsShrink); this.instanceIds = instanceIds; return this; } /** *

This parameter is required.

* * example: *

sdg-xxxx

*/ public Builder SDGId(String SDGId) { this.putQueryParameter("SDGId", SDGId); this.SDGId = SDGId; return this; } @Override public AttachInstanceSDGRequest build() { return new AttachInstanceSDGRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy