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

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

CopySDGRequest

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

The destination nodes.

*

This parameter is required.

*/ public Builder destinationRegionIds(java.util.List destinationRegionIds) { String destinationRegionIdsShrink = shrink(destinationRegionIds, "DestinationRegionIds", "json"); this.putQueryParameter("DestinationRegionIds", destinationRegionIdsShrink); this.destinationRegionIds = destinationRegionIds; return this; } /** *

The ID of the SDG that you want to copy.

*

This parameter is required.

* * example: *

sdg-xxx

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy