diff --git a/aliyun-java-sdk-ecs/ChangeLog.txt b/aliyun-java-sdk-ecs/ChangeLog.txt
index 717a8b482f..3b23165663 100644
--- a/aliyun-java-sdk-ecs/ChangeLog.txt
+++ b/aliyun-java-sdk-ecs/ChangeLog.txt
@@ -1,3 +1,6 @@
+2023-05-25 Version: 4.24.63
+- DescribeDemands add PrivatePoolId.
+
2023-04-26 Version: 5.10.56
- Adjust migrate instance.
diff --git a/aliyun-java-sdk-ecs/pom.xml b/aliyun-java-sdk-ecs/pom.xml
index 6b9fec745d..2f15aeb192 100644
--- a/aliyun-java-sdk-ecs/pom.xml
+++ b/aliyun-java-sdk-ecs/pom.xml
@@ -4,7 +4,7 @@
com.aliyun
aliyun-java-sdk-ecs
jar
- 5.10.56
+ 4.24.63
aliyun-java-sdk-ecs
http://www.aliyun.com
Aliyun Open API SDK for Java
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AcceptInquiredSystemEventRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AcceptInquiredSystemEventRequest.java
new file mode 100644
index 0000000000..7dfbaacab1
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AcceptInquiredSystemEventRequest.java
@@ -0,0 +1,119 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AcceptInquiredSystemEventRequest extends RpcAcsRequest {
+
+
+ private String eventId;
+
+ private Long resourceOwnerId;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String choice;
+ public AcceptInquiredSystemEventRequest() {
+ super("Ecs", "2014-05-26", "AcceptInquiredSystemEvent", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getEventId() {
+ return this.eventId;
+ }
+
+ public void setEventId(String eventId) {
+ this.eventId = eventId;
+ if(eventId != null){
+ putQueryParameter("EventId", eventId);
+ }
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getChoice() {
+ return this.choice;
+ }
+
+ public void setChoice(String choice) {
+ this.choice = choice;
+ if(choice != null){
+ putQueryParameter("Choice", choice);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AcceptInquiredSystemEventResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AcceptInquiredSystemEventResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AcceptInquiredSystemEventResponse.java
new file mode 100644
index 0000000000..9d790cb15e
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AcceptInquiredSystemEventResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AcceptInquiredSystemEventResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AcceptInquiredSystemEventResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public AcceptInquiredSystemEventResponse getInstance(UnmarshallerContext context) {
+ return AcceptInquiredSystemEventResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ActivateRouterInterfaceRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ActivateRouterInterfaceRequest.java
new file mode 100644
index 0000000000..190ec982d2
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ActivateRouterInterfaceRequest.java
@@ -0,0 +1,93 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ActivateRouterInterfaceRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
+ private String routerInterfaceId;
+ public ActivateRouterInterfaceRequest() {
+ super("Ecs", "2014-05-26", "ActivateRouterInterface", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getRouterInterfaceId() {
+ return this.routerInterfaceId;
+ }
+
+ public void setRouterInterfaceId(String routerInterfaceId) {
+ this.routerInterfaceId = routerInterfaceId;
+ if(routerInterfaceId != null){
+ putQueryParameter("RouterInterfaceId", routerInterfaceId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ActivateRouterInterfaceResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ActivateRouterInterfaceResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ActivateRouterInterfaceResponse.java
new file mode 100644
index 0000000000..1a79cde7b2
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ActivateRouterInterfaceResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.ActivateRouterInterfaceResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ActivateRouterInterfaceResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public ActivateRouterInterfaceResponse getInstance(UnmarshallerContext context) {
+ return ActivateRouterInterfaceResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AddBandwidthPackageIpsRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AddBandwidthPackageIpsRequest.java
new file mode 100644
index 0000000000..caf34d4bac
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AddBandwidthPackageIpsRequest.java
@@ -0,0 +1,132 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AddBandwidthPackageIpsRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String clientToken;
+
+ private String bandwidthPackageId;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String ipCount;
+ public AddBandwidthPackageIpsRequest() {
+ super("Ecs", "2014-05-26", "AddBandwidthPackageIps", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getBandwidthPackageId() {
+ return this.bandwidthPackageId;
+ }
+
+ public void setBandwidthPackageId(String bandwidthPackageId) {
+ this.bandwidthPackageId = bandwidthPackageId;
+ if(bandwidthPackageId != null){
+ putQueryParameter("BandwidthPackageId", bandwidthPackageId);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getIpCount() {
+ return this.ipCount;
+ }
+
+ public void setIpCount(String ipCount) {
+ this.ipCount = ipCount;
+ if(ipCount != null){
+ putQueryParameter("IpCount", ipCount);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AddBandwidthPackageIpsResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AddBandwidthPackageIpsResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AddBandwidthPackageIpsResponse.java
new file mode 100644
index 0000000000..b7fb6f7651
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AddBandwidthPackageIpsResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AddBandwidthPackageIpsResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AddBandwidthPackageIpsResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public AddBandwidthPackageIpsResponse getInstance(UnmarshallerContext context) {
+ return AddBandwidthPackageIpsResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AddTagsRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AddTagsRequest.java
new file mode 100644
index 0000000000..e2de091727
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AddTagsRequest.java
@@ -0,0 +1,146 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AddTagsRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private List tags;
+
+ private String resourceId;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
+ private String resourceType;
+ public AddTagsRequest() {
+ super("Ecs", "2014-05-26", "AddTags", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ }
+ }
+ }
+
+ public String getResourceId() {
+ return this.resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ if(resourceId != null){
+ putQueryParameter("ResourceId", resourceId);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getResourceType() {
+ return this.resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ if(resourceType != null){
+ putQueryParameter("ResourceType", resourceType);
+ }
+ }
+
+ public static class Tag {
+
+ private String value;
+
+ private String key;
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AddTagsResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AddTagsResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AddTagsResponse.java
new file mode 100644
index 0000000000..d5d95c69f9
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AddTagsResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AddTagsResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AddTagsResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public AddTagsResponse getInstance(UnmarshallerContext context) {
+ return AddTagsResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20160314/AllocateDedicatedHostsRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocateDedicatedHostsRequest.java
similarity index 86%
rename from aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20160314/AllocateDedicatedHostsRequest.java
rename to aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocateDedicatedHostsRequest.java
index bd11e82eea..8b7b823b2e 100644
--- a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20160314/AllocateDedicatedHostsRequest.java
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocateDedicatedHostsRequest.java
@@ -12,7 +12,7 @@
* limitations under the License.
*/
-package com.aliyuncs.ecs.model.v20160314;
+package com.aliyuncs.ecs.model.v20140526;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
@@ -46,8 +46,6 @@ public class AllocateDedicatedHostsRequest extends RpcAcsRequest dedicatedHostIdSets;
- public String getOrderId() {
- return this.orderId;
- }
-
- public void setOrderId(String orderId) {
- this.orderId = orderId;
- }
-
public String getRequestId() {
return this.requestId;
}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocateEipAddressRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocateEipAddressRequest.java
new file mode 100644
index 0000000000..c474829af4
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocateEipAddressRequest.java
@@ -0,0 +1,158 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AllocateEipAddressRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String clientToken;
+
+ private String iSP;
+
+ private String resourceOwnerAccount;
+
+ private String bandwidth;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private Long activityId;
+
+ private String internetChargeType;
+ public AllocateEipAddressRequest() {
+ super("Ecs", "2014-05-26", "AllocateEipAddress", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getISP() {
+ return this.iSP;
+ }
+
+ public void setISP(String iSP) {
+ this.iSP = iSP;
+ if(iSP != null){
+ putQueryParameter("ISP", iSP);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getBandwidth() {
+ return this.bandwidth;
+ }
+
+ public void setBandwidth(String bandwidth) {
+ this.bandwidth = bandwidth;
+ if(bandwidth != null){
+ putQueryParameter("Bandwidth", bandwidth);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public Long getActivityId() {
+ return this.activityId;
+ }
+
+ public void setActivityId(Long activityId) {
+ this.activityId = activityId;
+ if(activityId != null){
+ putQueryParameter("ActivityId", activityId.toString());
+ }
+ }
+
+ public String getInternetChargeType() {
+ return this.internetChargeType;
+ }
+
+ public void setInternetChargeType(String internetChargeType) {
+ this.internetChargeType = internetChargeType;
+ if(internetChargeType != null){
+ putQueryParameter("InternetChargeType", internetChargeType);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AllocateEipAddressResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocateEipAddressResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocateEipAddressResponse.java
new file mode 100644
index 0000000000..797f0377f2
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocateEipAddressResponse.java
@@ -0,0 +1,61 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AllocateEipAddressResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AllocateEipAddressResponse extends AcsResponse {
+
+ private String requestId;
+
+ private String allocationId;
+
+ private String eipAddress;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public String getAllocationId() {
+ return this.allocationId;
+ }
+
+ public void setAllocationId(String allocationId) {
+ this.allocationId = allocationId;
+ }
+
+ public String getEipAddress() {
+ return this.eipAddress;
+ }
+
+ public void setEipAddress(String eipAddress) {
+ this.eipAddress = eipAddress;
+ }
+
+ @Override
+ public AllocateEipAddressResponse getInstance(UnmarshallerContext context) {
+ return AllocateEipAddressResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocatePublicIpAddressRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocatePublicIpAddressRequest.java
new file mode 100644
index 0000000000..f8aceb395b
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocatePublicIpAddressRequest.java
@@ -0,0 +1,132 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AllocatePublicIpAddressRequest extends RpcAcsRequest {
+
+
+ private String ipAddress;
+
+ private Long resourceOwnerId;
+
+ private String vlanId;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String instanceId;
+ public AllocatePublicIpAddressRequest() {
+ super("Ecs", "2014-05-26", "AllocatePublicIpAddress", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getIpAddress() {
+ return this.ipAddress;
+ }
+
+ public void setIpAddress(String ipAddress) {
+ this.ipAddress = ipAddress;
+ if(ipAddress != null){
+ putQueryParameter("IpAddress", ipAddress);
+ }
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getVlanId() {
+ return this.vlanId;
+ }
+
+ public void setVlanId(String vlanId) {
+ this.vlanId = vlanId;
+ if(vlanId != null){
+ putQueryParameter("VlanId", vlanId);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ if(instanceId != null){
+ putQueryParameter("InstanceId", instanceId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AllocatePublicIpAddressResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocatePublicIpAddressResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocatePublicIpAddressResponse.java
new file mode 100644
index 0000000000..d530c7b582
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AllocatePublicIpAddressResponse.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AllocatePublicIpAddressResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AllocatePublicIpAddressResponse extends AcsResponse {
+
+ private String ipAddress;
+
+ private String requestId;
+
+ public String getIpAddress() {
+ return this.ipAddress;
+ }
+
+ public void setIpAddress(String ipAddress) {
+ this.ipAddress = ipAddress;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public AllocatePublicIpAddressResponse getInstance(UnmarshallerContext context) {
+ return AllocatePublicIpAddressResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ApplyAutoSnapshotPolicyRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ApplyAutoSnapshotPolicyRequest.java
new file mode 100644
index 0000000000..13c13824d2
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ApplyAutoSnapshotPolicyRequest.java
@@ -0,0 +1,106 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ApplyAutoSnapshotPolicyRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String autoSnapshotPolicyId;
+
+ private String diskIds;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+ public ApplyAutoSnapshotPolicyRequest() {
+ super("Ecs", "2014-05-26", "ApplyAutoSnapshotPolicy", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getAutoSnapshotPolicyId() {
+ return this.autoSnapshotPolicyId;
+ }
+
+ public void setAutoSnapshotPolicyId(String autoSnapshotPolicyId) {
+ this.autoSnapshotPolicyId = autoSnapshotPolicyId;
+ if(autoSnapshotPolicyId != null){
+ putQueryParameter("autoSnapshotPolicyId", autoSnapshotPolicyId);
+ }
+ }
+
+ public String getDiskIds() {
+ return this.diskIds;
+ }
+
+ public void setDiskIds(String diskIds) {
+ this.diskIds = diskIds;
+ if(diskIds != null){
+ putQueryParameter("diskIds", diskIds);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ApplyAutoSnapshotPolicyResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ApplyAutoSnapshotPolicyResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ApplyAutoSnapshotPolicyResponse.java
new file mode 100644
index 0000000000..ef660977e5
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ApplyAutoSnapshotPolicyResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.ApplyAutoSnapshotPolicyResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ApplyAutoSnapshotPolicyResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public ApplyAutoSnapshotPolicyResponse getInstance(UnmarshallerContext context) {
+ return ApplyAutoSnapshotPolicyResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssignIpv6AddressesRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssignIpv6AddressesRequest.java
new file mode 100644
index 0000000000..eaf466e392
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssignIpv6AddressesRequest.java
@@ -0,0 +1,176 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AssignIpv6AddressesRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String clientToken;
+
+ private List ipv6Prefixs;
+
+ private Integer ipv6PrefixCount;
+
+ private String resourceOwnerAccount;
+
+ private Integer ipv6AddressCount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String networkInterfaceId;
+
+ private List ipv6Addresss;
+ public AssignIpv6AddressesRequest() {
+ super("Ecs", "2014-05-26", "AssignIpv6Addresses", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public List getIpv6Prefixs() {
+ return this.ipv6Prefixs;
+ }
+
+ public void setIpv6Prefixs(List ipv6Prefixs) {
+ this.ipv6Prefixs = ipv6Prefixs;
+ if (ipv6Prefixs != null) {
+ for (int i = 0; i < ipv6Prefixs.size(); i++) {
+ putQueryParameter("Ipv6Prefix." + (i + 1) , ipv6Prefixs.get(i));
+ }
+ }
+ }
+
+ public Integer getIpv6PrefixCount() {
+ return this.ipv6PrefixCount;
+ }
+
+ public void setIpv6PrefixCount(Integer ipv6PrefixCount) {
+ this.ipv6PrefixCount = ipv6PrefixCount;
+ if(ipv6PrefixCount != null){
+ putQueryParameter("Ipv6PrefixCount", ipv6PrefixCount.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Integer getIpv6AddressCount() {
+ return this.ipv6AddressCount;
+ }
+
+ public void setIpv6AddressCount(Integer ipv6AddressCount) {
+ this.ipv6AddressCount = ipv6AddressCount;
+ if(ipv6AddressCount != null){
+ putQueryParameter("Ipv6AddressCount", ipv6AddressCount.toString());
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getNetworkInterfaceId() {
+ return this.networkInterfaceId;
+ }
+
+ public void setNetworkInterfaceId(String networkInterfaceId) {
+ this.networkInterfaceId = networkInterfaceId;
+ if(networkInterfaceId != null){
+ putQueryParameter("NetworkInterfaceId", networkInterfaceId);
+ }
+ }
+
+ public List getIpv6Addresss() {
+ return this.ipv6Addresss;
+ }
+
+ public void setIpv6Addresss(List ipv6Addresss) {
+ this.ipv6Addresss = ipv6Addresss;
+ if (ipv6Addresss != null) {
+ for (int i = 0; i < ipv6Addresss.size(); i++) {
+ putQueryParameter("Ipv6Address." + (i + 1) , ipv6Addresss.get(i));
+ }
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AssignIpv6AddressesResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssignIpv6AddressesResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssignIpv6AddressesResponse.java
new file mode 100644
index 0000000000..bc86a25090
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssignIpv6AddressesResponse.java
@@ -0,0 +1,72 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AssignIpv6AddressesResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AssignIpv6AddressesResponse extends AcsResponse {
+
+ private String requestId;
+
+ private String networkInterfaceId;
+
+ private List ipv6Sets;
+
+ private List ipv6PrefixSets;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public String getNetworkInterfaceId() {
+ return this.networkInterfaceId;
+ }
+
+ public void setNetworkInterfaceId(String networkInterfaceId) {
+ this.networkInterfaceId = networkInterfaceId;
+ }
+
+ public List getIpv6Sets() {
+ return this.ipv6Sets;
+ }
+
+ public void setIpv6Sets(List ipv6Sets) {
+ this.ipv6Sets = ipv6Sets;
+ }
+
+ public List getIpv6PrefixSets() {
+ return this.ipv6PrefixSets;
+ }
+
+ public void setIpv6PrefixSets(List ipv6PrefixSets) {
+ this.ipv6PrefixSets = ipv6PrefixSets;
+ }
+
+ @Override
+ public AssignIpv6AddressesResponse getInstance(UnmarshallerContext context) {
+ return AssignIpv6AddressesResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssignPrivateIpAddressesRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssignPrivateIpAddressesRequest.java
new file mode 100644
index 0000000000..8590884738
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssignPrivateIpAddressesRequest.java
@@ -0,0 +1,176 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AssignPrivateIpAddressesRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private List ipv4Prefixs;
+
+ private String clientToken;
+
+ private Integer secondaryPrivateIpAddressCount;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private Integer ipv4PrefixCount;
+
+ private List privateIpAddresss;
+
+ private String networkInterfaceId;
+ public AssignPrivateIpAddressesRequest() {
+ super("Ecs", "2014-05-26", "AssignPrivateIpAddresses", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public List getIpv4Prefixs() {
+ return this.ipv4Prefixs;
+ }
+
+ public void setIpv4Prefixs(List ipv4Prefixs) {
+ this.ipv4Prefixs = ipv4Prefixs;
+ if (ipv4Prefixs != null) {
+ for (int i = 0; i < ipv4Prefixs.size(); i++) {
+ putQueryParameter("Ipv4Prefix." + (i + 1) , ipv4Prefixs.get(i));
+ }
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public Integer getSecondaryPrivateIpAddressCount() {
+ return this.secondaryPrivateIpAddressCount;
+ }
+
+ public void setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount) {
+ this.secondaryPrivateIpAddressCount = secondaryPrivateIpAddressCount;
+ if(secondaryPrivateIpAddressCount != null){
+ putQueryParameter("SecondaryPrivateIpAddressCount", secondaryPrivateIpAddressCount.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public Integer getIpv4PrefixCount() {
+ return this.ipv4PrefixCount;
+ }
+
+ public void setIpv4PrefixCount(Integer ipv4PrefixCount) {
+ this.ipv4PrefixCount = ipv4PrefixCount;
+ if(ipv4PrefixCount != null){
+ putQueryParameter("Ipv4PrefixCount", ipv4PrefixCount.toString());
+ }
+ }
+
+ public List getPrivateIpAddresss() {
+ return this.privateIpAddresss;
+ }
+
+ public void setPrivateIpAddresss(List privateIpAddresss) {
+ this.privateIpAddresss = privateIpAddresss;
+ if (privateIpAddresss != null) {
+ for (int i = 0; i < privateIpAddresss.size(); i++) {
+ putQueryParameter("PrivateIpAddress." + (i + 1) , privateIpAddresss.get(i));
+ }
+ }
+ }
+
+ public String getNetworkInterfaceId() {
+ return this.networkInterfaceId;
+ }
+
+ public void setNetworkInterfaceId(String networkInterfaceId) {
+ this.networkInterfaceId = networkInterfaceId;
+ if(networkInterfaceId != null){
+ putQueryParameter("NetworkInterfaceId", networkInterfaceId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AssignPrivateIpAddressesResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssignPrivateIpAddressesResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssignPrivateIpAddressesResponse.java
new file mode 100644
index 0000000000..a76c47da1b
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssignPrivateIpAddressesResponse.java
@@ -0,0 +1,85 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AssignPrivateIpAddressesResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AssignPrivateIpAddressesResponse extends AcsResponse {
+
+ private String requestId;
+
+ private AssignedPrivateIpAddressesSet assignedPrivateIpAddressesSet;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public AssignedPrivateIpAddressesSet getAssignedPrivateIpAddressesSet() {
+ return this.assignedPrivateIpAddressesSet;
+ }
+
+ public void setAssignedPrivateIpAddressesSet(AssignedPrivateIpAddressesSet assignedPrivateIpAddressesSet) {
+ this.assignedPrivateIpAddressesSet = assignedPrivateIpAddressesSet;
+ }
+
+ public static class AssignedPrivateIpAddressesSet {
+
+ private String networkInterfaceId;
+
+ private List privateIpSet;
+
+ private List ipv4PrefixSet;
+
+ public String getNetworkInterfaceId() {
+ return this.networkInterfaceId;
+ }
+
+ public void setNetworkInterfaceId(String networkInterfaceId) {
+ this.networkInterfaceId = networkInterfaceId;
+ }
+
+ public List getPrivateIpSet() {
+ return this.privateIpSet;
+ }
+
+ public void setPrivateIpSet(List privateIpSet) {
+ this.privateIpSet = privateIpSet;
+ }
+
+ public List getIpv4PrefixSet() {
+ return this.ipv4PrefixSet;
+ }
+
+ public void setIpv4PrefixSet(List ipv4PrefixSet) {
+ this.ipv4PrefixSet = ipv4PrefixSet;
+ }
+ }
+
+ @Override
+ public AssignPrivateIpAddressesResponse getInstance(UnmarshallerContext context) {
+ return AssignPrivateIpAddressesResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssociateEipAddressRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssociateEipAddressRequest.java
new file mode 100644
index 0000000000..0d7d0d7894
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssociateEipAddressRequest.java
@@ -0,0 +1,132 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AssociateEipAddressRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String allocationId;
+
+ private String instanceType;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String instanceId;
+ public AssociateEipAddressRequest() {
+ super("Ecs", "2014-05-26", "AssociateEipAddress", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getAllocationId() {
+ return this.allocationId;
+ }
+
+ public void setAllocationId(String allocationId) {
+ this.allocationId = allocationId;
+ if(allocationId != null){
+ putQueryParameter("AllocationId", allocationId);
+ }
+ }
+
+ public String getInstanceType() {
+ return this.instanceType;
+ }
+
+ public void setInstanceType(String instanceType) {
+ this.instanceType = instanceType;
+ if(instanceType != null){
+ putQueryParameter("InstanceType", instanceType);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ if(instanceId != null){
+ putQueryParameter("InstanceId", instanceId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AssociateEipAddressResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssociateEipAddressResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssociateEipAddressResponse.java
new file mode 100644
index 0000000000..48b5e07890
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssociateEipAddressResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AssociateEipAddressResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AssociateEipAddressResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public AssociateEipAddressResponse getInstance(UnmarshallerContext context) {
+ return AssociateEipAddressResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssociateHaVipRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssociateHaVipRequest.java
new file mode 100644
index 0000000000..4086f66f03
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssociateHaVipRequest.java
@@ -0,0 +1,132 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AssociateHaVipRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String clientToken;
+
+ private String haVipId;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String instanceId;
+ public AssociateHaVipRequest() {
+ super("Ecs", "2014-05-26", "AssociateHaVip", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getHaVipId() {
+ return this.haVipId;
+ }
+
+ public void setHaVipId(String haVipId) {
+ this.haVipId = haVipId;
+ if(haVipId != null){
+ putQueryParameter("HaVipId", haVipId);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ if(instanceId != null){
+ putQueryParameter("InstanceId", instanceId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AssociateHaVipResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssociateHaVipResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssociateHaVipResponse.java
new file mode 100644
index 0000000000..e4e89bfc13
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AssociateHaVipResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AssociateHaVipResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AssociateHaVipResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public AssociateHaVipResponse getInstance(UnmarshallerContext context) {
+ return AssociateHaVipResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachClassicLinkVpcRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachClassicLinkVpcRequest.java
new file mode 100644
index 0000000000..93ba53317c
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachClassicLinkVpcRequest.java
@@ -0,0 +1,106 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AttachClassicLinkVpcRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
+ private String instanceId;
+
+ private String vpcId;
+ public AttachClassicLinkVpcRequest() {
+ super("Ecs", "2014-05-26", "AttachClassicLinkVpc", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ if(instanceId != null){
+ putQueryParameter("InstanceId", instanceId);
+ }
+ }
+
+ public String getVpcId() {
+ return this.vpcId;
+ }
+
+ public void setVpcId(String vpcId) {
+ this.vpcId = vpcId;
+ if(vpcId != null){
+ putQueryParameter("VpcId", vpcId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AttachClassicLinkVpcResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachClassicLinkVpcResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachClassicLinkVpcResponse.java
new file mode 100644
index 0000000000..a171c4ddfc
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachClassicLinkVpcResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AttachClassicLinkVpcResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AttachClassicLinkVpcResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public AttachClassicLinkVpcResponse getInstance(UnmarshallerContext context) {
+ return AttachClassicLinkVpcResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachDiskRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachDiskRequest.java
new file mode 100644
index 0000000000..4ad90897ad
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachDiskRequest.java
@@ -0,0 +1,184 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AttachDiskRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String keyPairName;
+
+ private Boolean bootable;
+
+ private String password;
+
+ private String diskId;
+
+ private Boolean deleteWithInstance;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String instanceId;
+
+ private String device;
+ public AttachDiskRequest() {
+ super("Ecs", "2014-05-26", "AttachDisk", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getKeyPairName() {
+ return this.keyPairName;
+ }
+
+ public void setKeyPairName(String keyPairName) {
+ this.keyPairName = keyPairName;
+ if(keyPairName != null){
+ putQueryParameter("KeyPairName", keyPairName);
+ }
+ }
+
+ public Boolean getBootable() {
+ return this.bootable;
+ }
+
+ public void setBootable(Boolean bootable) {
+ this.bootable = bootable;
+ if(bootable != null){
+ putQueryParameter("Bootable", bootable.toString());
+ }
+ }
+
+ public String getPassword() {
+ return this.password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ if(password != null){
+ putQueryParameter("Password", password);
+ }
+ }
+
+ public String getDiskId() {
+ return this.diskId;
+ }
+
+ public void setDiskId(String diskId) {
+ this.diskId = diskId;
+ if(diskId != null){
+ putQueryParameter("DiskId", diskId);
+ }
+ }
+
+ public Boolean getDeleteWithInstance() {
+ return this.deleteWithInstance;
+ }
+
+ public void setDeleteWithInstance(Boolean deleteWithInstance) {
+ this.deleteWithInstance = deleteWithInstance;
+ if(deleteWithInstance != null){
+ putQueryParameter("DeleteWithInstance", deleteWithInstance.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ if(instanceId != null){
+ putQueryParameter("InstanceId", instanceId);
+ }
+ }
+
+ public String getDevice() {
+ return this.device;
+ }
+
+ public void setDevice(String device) {
+ this.device = device;
+ if(device != null){
+ putQueryParameter("Device", device);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AttachDiskResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachDiskResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachDiskResponse.java
new file mode 100644
index 0000000000..5f3fac806b
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachDiskResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AttachDiskResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AttachDiskResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public AttachDiskResponse getInstance(UnmarshallerContext context) {
+ return AttachDiskResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachInstanceRamRoleRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachInstanceRamRoleRequest.java
new file mode 100644
index 0000000000..ca62e21399
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachInstanceRamRoleRequest.java
@@ -0,0 +1,119 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AttachInstanceRamRoleRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String policy;
+
+ private String resourceOwnerAccount;
+
+ private String ramRoleName;
+
+ private Long ownerId;
+
+ private String instanceIds;
+ public AttachInstanceRamRoleRequest() {
+ super("Ecs", "2014-05-26", "AttachInstanceRamRole", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getPolicy() {
+ return this.policy;
+ }
+
+ public void setPolicy(String policy) {
+ this.policy = policy;
+ if(policy != null){
+ putQueryParameter("Policy", policy);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getRamRoleName() {
+ return this.ramRoleName;
+ }
+
+ public void setRamRoleName(String ramRoleName) {
+ this.ramRoleName = ramRoleName;
+ if(ramRoleName != null){
+ putQueryParameter("RamRoleName", ramRoleName);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getInstanceIds() {
+ return this.instanceIds;
+ }
+
+ public void setInstanceIds(String instanceIds) {
+ this.instanceIds = instanceIds;
+ if(instanceIds != null){
+ putQueryParameter("InstanceIds", instanceIds);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AttachInstanceRamRoleResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachInstanceRamRoleResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachInstanceRamRoleResponse.java
new file mode 100644
index 0000000000..0aeadaa8a9
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachInstanceRamRoleResponse.java
@@ -0,0 +1,125 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AttachInstanceRamRoleResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AttachInstanceRamRoleResponse extends AcsResponse {
+
+ private String ramRoleName;
+
+ private String requestId;
+
+ private Integer totalCount;
+
+ private Integer failCount;
+
+ private List attachInstanceRamRoleResults;
+
+ public String getRamRoleName() {
+ return this.ramRoleName;
+ }
+
+ public void setRamRoleName(String ramRoleName) {
+ this.ramRoleName = ramRoleName;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public Integer getTotalCount() {
+ return this.totalCount;
+ }
+
+ public void setTotalCount(Integer totalCount) {
+ this.totalCount = totalCount;
+ }
+
+ public Integer getFailCount() {
+ return this.failCount;
+ }
+
+ public void setFailCount(Integer failCount) {
+ this.failCount = failCount;
+ }
+
+ public List getAttachInstanceRamRoleResults() {
+ return this.attachInstanceRamRoleResults;
+ }
+
+ public void setAttachInstanceRamRoleResults(List attachInstanceRamRoleResults) {
+ this.attachInstanceRamRoleResults = attachInstanceRamRoleResults;
+ }
+
+ public static class AttachInstanceRamRoleResult {
+
+ private String code;
+
+ private String message;
+
+ private String instanceId;
+
+ private Boolean success;
+
+ public String getCode() {
+ return this.code;
+ }
+
+ public void setCode(String code) {
+ this.code = code;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ }
+
+ public Boolean getSuccess() {
+ return this.success;
+ }
+
+ public void setSuccess(Boolean success) {
+ this.success = success;
+ }
+ }
+
+ @Override
+ public AttachInstanceRamRoleResponse getInstance(UnmarshallerContext context) {
+ return AttachInstanceRamRoleResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachKeyPairRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachKeyPairRequest.java
new file mode 100644
index 0000000000..eb2b6b8d5d
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachKeyPairRequest.java
@@ -0,0 +1,106 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AttachKeyPairRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String keyPairName;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
+ private String instanceIds;
+ public AttachKeyPairRequest() {
+ super("Ecs", "2014-05-26", "AttachKeyPair", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getKeyPairName() {
+ return this.keyPairName;
+ }
+
+ public void setKeyPairName(String keyPairName) {
+ this.keyPairName = keyPairName;
+ if(keyPairName != null){
+ putQueryParameter("KeyPairName", keyPairName);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getInstanceIds() {
+ return this.instanceIds;
+ }
+
+ public void setInstanceIds(String instanceIds) {
+ this.instanceIds = instanceIds;
+ if(instanceIds != null){
+ putQueryParameter("InstanceIds", instanceIds);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AttachKeyPairResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachKeyPairResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachKeyPairResponse.java
new file mode 100644
index 0000000000..6ad3e5b2c8
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachKeyPairResponse.java
@@ -0,0 +1,125 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AttachKeyPairResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AttachKeyPairResponse extends AcsResponse {
+
+ private String keyPairName;
+
+ private String requestId;
+
+ private String totalCount;
+
+ private String failCount;
+
+ private List results;
+
+ public String getKeyPairName() {
+ return this.keyPairName;
+ }
+
+ public void setKeyPairName(String keyPairName) {
+ this.keyPairName = keyPairName;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public String getTotalCount() {
+ return this.totalCount;
+ }
+
+ public void setTotalCount(String totalCount) {
+ this.totalCount = totalCount;
+ }
+
+ public String getFailCount() {
+ return this.failCount;
+ }
+
+ public void setFailCount(String failCount) {
+ this.failCount = failCount;
+ }
+
+ public List getResults() {
+ return this.results;
+ }
+
+ public void setResults(List results) {
+ this.results = results;
+ }
+
+ public static class Result {
+
+ private String code;
+
+ private String message;
+
+ private String instanceId;
+
+ private String success;
+
+ public String getCode() {
+ return this.code;
+ }
+
+ public void setCode(String code) {
+ this.code = code;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ }
+
+ public String getSuccess() {
+ return this.success;
+ }
+
+ public void setSuccess(String success) {
+ this.success = success;
+ }
+ }
+
+ @Override
+ public AttachKeyPairResponse getInstance(UnmarshallerContext context) {
+ return AttachKeyPairResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachNetworkInterfaceRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachNetworkInterfaceRequest.java
new file mode 100644
index 0000000000..da6b0d6fb9
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachNetworkInterfaceRequest.java
@@ -0,0 +1,158 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AttachNetworkInterfaceRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String trunkNetworkInstanceId;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Boolean waitForNetworkConfigurationReady;
+
+ private Long ownerId;
+
+ private Integer networkCardIndex;
+
+ private String instanceId;
+
+ private String networkInterfaceId;
+ public AttachNetworkInterfaceRequest() {
+ super("Ecs", "2014-05-26", "AttachNetworkInterface", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getTrunkNetworkInstanceId() {
+ return this.trunkNetworkInstanceId;
+ }
+
+ public void setTrunkNetworkInstanceId(String trunkNetworkInstanceId) {
+ this.trunkNetworkInstanceId = trunkNetworkInstanceId;
+ if(trunkNetworkInstanceId != null){
+ putQueryParameter("TrunkNetworkInstanceId", trunkNetworkInstanceId);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Boolean getWaitForNetworkConfigurationReady() {
+ return this.waitForNetworkConfigurationReady;
+ }
+
+ public void setWaitForNetworkConfigurationReady(Boolean waitForNetworkConfigurationReady) {
+ this.waitForNetworkConfigurationReady = waitForNetworkConfigurationReady;
+ if(waitForNetworkConfigurationReady != null){
+ putQueryParameter("WaitForNetworkConfigurationReady", waitForNetworkConfigurationReady.toString());
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public Integer getNetworkCardIndex() {
+ return this.networkCardIndex;
+ }
+
+ public void setNetworkCardIndex(Integer networkCardIndex) {
+ this.networkCardIndex = networkCardIndex;
+ if(networkCardIndex != null){
+ putQueryParameter("NetworkCardIndex", networkCardIndex.toString());
+ }
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ if(instanceId != null){
+ putQueryParameter("InstanceId", instanceId);
+ }
+ }
+
+ public String getNetworkInterfaceId() {
+ return this.networkInterfaceId;
+ }
+
+ public void setNetworkInterfaceId(String networkInterfaceId) {
+ this.networkInterfaceId = networkInterfaceId;
+ if(networkInterfaceId != null){
+ putQueryParameter("NetworkInterfaceId", networkInterfaceId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AttachNetworkInterfaceResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachNetworkInterfaceResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachNetworkInterfaceResponse.java
new file mode 100644
index 0000000000..7a63087176
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AttachNetworkInterfaceResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AttachNetworkInterfaceResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AttachNetworkInterfaceResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public AttachNetworkInterfaceResponse getInstance(UnmarshallerContext context) {
+ return AttachNetworkInterfaceResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AuthorizeSecurityGroupEgressRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AuthorizeSecurityGroupEgressRequest.java
new file mode 100644
index 0000000000..cb5be96bc1
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AuthorizeSecurityGroupEgressRequest.java
@@ -0,0 +1,500 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AuthorizeSecurityGroupEgressRequest extends RpcAcsRequest {
+
+
+ private String nicType;
+
+ private Long resourceOwnerId;
+
+ private String sourcePortRange;
+
+ private String clientToken;
+
+ private String destPrefixListId;
+
+ private String securityGroupId;
+
+ private String description;
+
+ private List permissions;
+
+ private String policy;
+
+ private String ipv6DestCidrIp;
+
+ private String ipv6SourceCidrIp;
+
+ private String portRange;
+
+ private String resourceOwnerAccount;
+
+ private String ipProtocol;
+
+ private String ownerAccount;
+
+ private String sourceCidrIp;
+
+ private String destGroupId;
+
+ private Long ownerId;
+
+ private String priority;
+
+ private String destGroupOwnerAccount;
+
+ private String destCidrIp;
+
+ private Long destGroupOwnerId;
+ public AuthorizeSecurityGroupEgressRequest() {
+ super("Ecs", "2014-05-26", "AuthorizeSecurityGroupEgress", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getNicType() {
+ return this.nicType;
+ }
+
+ public void setNicType(String nicType) {
+ this.nicType = nicType;
+ if(nicType != null){
+ putQueryParameter("NicType", nicType);
+ }
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getSourcePortRange() {
+ return this.sourcePortRange;
+ }
+
+ public void setSourcePortRange(String sourcePortRange) {
+ this.sourcePortRange = sourcePortRange;
+ if(sourcePortRange != null){
+ putQueryParameter("SourcePortRange", sourcePortRange);
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getDestPrefixListId() {
+ return this.destPrefixListId;
+ }
+
+ public void setDestPrefixListId(String destPrefixListId) {
+ this.destPrefixListId = destPrefixListId;
+ if(destPrefixListId != null){
+ putQueryParameter("DestPrefixListId", destPrefixListId);
+ }
+ }
+
+ public String getSecurityGroupId() {
+ return this.securityGroupId;
+ }
+
+ public void setSecurityGroupId(String securityGroupId) {
+ this.securityGroupId = securityGroupId;
+ if(securityGroupId != null){
+ putQueryParameter("SecurityGroupId", securityGroupId);
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public List getPermissions() {
+ return this.permissions;
+ }
+
+ public void setPermissions(List permissions) {
+ this.permissions = permissions;
+ if (permissions != null) {
+ for (int depth1 = 0; depth1 < permissions.size(); depth1++) {
+ if (permissions.get(depth1) != null) {
+
+ putQueryParameter("Permissions." + (depth1 + 1) + ".Policy" , permissions.get(depth1).getPolicy());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".Priority" , permissions.get(depth1).getPriority());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".IpProtocol" , permissions.get(depth1).getIpProtocol());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".DestCidrIp" , permissions.get(depth1).getDestCidrIp());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".Ipv6DestCidrIp" , permissions.get(depth1).getIpv6DestCidrIp());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".DestGroupId" , permissions.get(depth1).getDestGroupId());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".DestPrefixListId" , permissions.get(depth1).getDestPrefixListId());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".PortRange" , permissions.get(depth1).getPortRange());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".SourceCidrIp" , permissions.get(depth1).getSourceCidrIp());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".Ipv6SourceCidrIp" , permissions.get(depth1).getIpv6SourceCidrIp());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".SourcePortRange" , permissions.get(depth1).getSourcePortRange());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".DestGroupOwnerAccount" , permissions.get(depth1).getDestGroupOwnerAccount());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".DestGroupOwnerId" , permissions.get(depth1).getDestGroupOwnerId());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".NicType" , permissions.get(depth1).getNicType());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".Description" , permissions.get(depth1).getDescription());
+ }
+ }
+ }
+ }
+
+ public String getPolicy() {
+ return this.policy;
+ }
+
+ public void setPolicy(String policy) {
+ this.policy = policy;
+ if(policy != null){
+ putQueryParameter("Policy", policy);
+ }
+ }
+
+ public String getIpv6DestCidrIp() {
+ return this.ipv6DestCidrIp;
+ }
+
+ public void setIpv6DestCidrIp(String ipv6DestCidrIp) {
+ this.ipv6DestCidrIp = ipv6DestCidrIp;
+ if(ipv6DestCidrIp != null){
+ putQueryParameter("Ipv6DestCidrIp", ipv6DestCidrIp);
+ }
+ }
+
+ public String getIpv6SourceCidrIp() {
+ return this.ipv6SourceCidrIp;
+ }
+
+ public void setIpv6SourceCidrIp(String ipv6SourceCidrIp) {
+ this.ipv6SourceCidrIp = ipv6SourceCidrIp;
+ if(ipv6SourceCidrIp != null){
+ putQueryParameter("Ipv6SourceCidrIp", ipv6SourceCidrIp);
+ }
+ }
+
+ public String getPortRange() {
+ return this.portRange;
+ }
+
+ public void setPortRange(String portRange) {
+ this.portRange = portRange;
+ if(portRange != null){
+ putQueryParameter("PortRange", portRange);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getIpProtocol() {
+ return this.ipProtocol;
+ }
+
+ public void setIpProtocol(String ipProtocol) {
+ this.ipProtocol = ipProtocol;
+ if(ipProtocol != null){
+ putQueryParameter("IpProtocol", ipProtocol);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public String getSourceCidrIp() {
+ return this.sourceCidrIp;
+ }
+
+ public void setSourceCidrIp(String sourceCidrIp) {
+ this.sourceCidrIp = sourceCidrIp;
+ if(sourceCidrIp != null){
+ putQueryParameter("SourceCidrIp", sourceCidrIp);
+ }
+ }
+
+ public String getDestGroupId() {
+ return this.destGroupId;
+ }
+
+ public void setDestGroupId(String destGroupId) {
+ this.destGroupId = destGroupId;
+ if(destGroupId != null){
+ putQueryParameter("DestGroupId", destGroupId);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getPriority() {
+ return this.priority;
+ }
+
+ public void setPriority(String priority) {
+ this.priority = priority;
+ if(priority != null){
+ putQueryParameter("Priority", priority);
+ }
+ }
+
+ public String getDestGroupOwnerAccount() {
+ return this.destGroupOwnerAccount;
+ }
+
+ public void setDestGroupOwnerAccount(String destGroupOwnerAccount) {
+ this.destGroupOwnerAccount = destGroupOwnerAccount;
+ if(destGroupOwnerAccount != null){
+ putQueryParameter("DestGroupOwnerAccount", destGroupOwnerAccount);
+ }
+ }
+
+ public String getDestCidrIp() {
+ return this.destCidrIp;
+ }
+
+ public void setDestCidrIp(String destCidrIp) {
+ this.destCidrIp = destCidrIp;
+ if(destCidrIp != null){
+ putQueryParameter("DestCidrIp", destCidrIp);
+ }
+ }
+
+ public Long getDestGroupOwnerId() {
+ return this.destGroupOwnerId;
+ }
+
+ public void setDestGroupOwnerId(Long destGroupOwnerId) {
+ this.destGroupOwnerId = destGroupOwnerId;
+ if(destGroupOwnerId != null){
+ putQueryParameter("DestGroupOwnerId", destGroupOwnerId.toString());
+ }
+ }
+
+ public static class Permissions {
+
+ private String policy;
+
+ private String priority;
+
+ private String ipProtocol;
+
+ private String destCidrIp;
+
+ private String ipv6DestCidrIp;
+
+ private String destGroupId;
+
+ private String destPrefixListId;
+
+ private String portRange;
+
+ private String sourceCidrIp;
+
+ private String ipv6SourceCidrIp;
+
+ private String sourcePortRange;
+
+ private String destGroupOwnerAccount;
+
+ private Long destGroupOwnerId;
+
+ private String nicType;
+
+ private String description;
+
+ public String getPolicy() {
+ return this.policy;
+ }
+
+ public void setPolicy(String policy) {
+ this.policy = policy;
+ }
+
+ public String getPriority() {
+ return this.priority;
+ }
+
+ public void setPriority(String priority) {
+ this.priority = priority;
+ }
+
+ public String getIpProtocol() {
+ return this.ipProtocol;
+ }
+
+ public void setIpProtocol(String ipProtocol) {
+ this.ipProtocol = ipProtocol;
+ }
+
+ public String getDestCidrIp() {
+ return this.destCidrIp;
+ }
+
+ public void setDestCidrIp(String destCidrIp) {
+ this.destCidrIp = destCidrIp;
+ }
+
+ public String getIpv6DestCidrIp() {
+ return this.ipv6DestCidrIp;
+ }
+
+ public void setIpv6DestCidrIp(String ipv6DestCidrIp) {
+ this.ipv6DestCidrIp = ipv6DestCidrIp;
+ }
+
+ public String getDestGroupId() {
+ return this.destGroupId;
+ }
+
+ public void setDestGroupId(String destGroupId) {
+ this.destGroupId = destGroupId;
+ }
+
+ public String getDestPrefixListId() {
+ return this.destPrefixListId;
+ }
+
+ public void setDestPrefixListId(String destPrefixListId) {
+ this.destPrefixListId = destPrefixListId;
+ }
+
+ public String getPortRange() {
+ return this.portRange;
+ }
+
+ public void setPortRange(String portRange) {
+ this.portRange = portRange;
+ }
+
+ public String getSourceCidrIp() {
+ return this.sourceCidrIp;
+ }
+
+ public void setSourceCidrIp(String sourceCidrIp) {
+ this.sourceCidrIp = sourceCidrIp;
+ }
+
+ public String getIpv6SourceCidrIp() {
+ return this.ipv6SourceCidrIp;
+ }
+
+ public void setIpv6SourceCidrIp(String ipv6SourceCidrIp) {
+ this.ipv6SourceCidrIp = ipv6SourceCidrIp;
+ }
+
+ public String getSourcePortRange() {
+ return this.sourcePortRange;
+ }
+
+ public void setSourcePortRange(String sourcePortRange) {
+ this.sourcePortRange = sourcePortRange;
+ }
+
+ public String getDestGroupOwnerAccount() {
+ return this.destGroupOwnerAccount;
+ }
+
+ public void setDestGroupOwnerAccount(String destGroupOwnerAccount) {
+ this.destGroupOwnerAccount = destGroupOwnerAccount;
+ }
+
+ public Long getDestGroupOwnerId() {
+ return this.destGroupOwnerId;
+ }
+
+ public void setDestGroupOwnerId(Long destGroupOwnerId) {
+ this.destGroupOwnerId = destGroupOwnerId;
+ }
+
+ public String getNicType() {
+ return this.nicType;
+ }
+
+ public void setNicType(String nicType) {
+ this.nicType = nicType;
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AuthorizeSecurityGroupEgressResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AuthorizeSecurityGroupEgressResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AuthorizeSecurityGroupEgressResponse.java
new file mode 100644
index 0000000000..19bcacdf19
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AuthorizeSecurityGroupEgressResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AuthorizeSecurityGroupEgressResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AuthorizeSecurityGroupEgressResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public AuthorizeSecurityGroupEgressResponse getInstance(UnmarshallerContext context) {
+ return AuthorizeSecurityGroupEgressResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AuthorizeSecurityGroupRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AuthorizeSecurityGroupRequest.java
new file mode 100644
index 0000000000..68d48a0469
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AuthorizeSecurityGroupRequest.java
@@ -0,0 +1,500 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AuthorizeSecurityGroupRequest extends RpcAcsRequest {
+
+
+ private String nicType;
+
+ private Long resourceOwnerId;
+
+ private String sourcePrefixListId;
+
+ private String sourcePortRange;
+
+ private String clientToken;
+
+ private String securityGroupId;
+
+ private String description;
+
+ private Long sourceGroupOwnerId;
+
+ private String sourceGroupOwnerAccount;
+
+ private List permissions;
+
+ private String policy;
+
+ private String ipv6SourceCidrIp;
+
+ private String ipv6DestCidrIp;
+
+ private String portRange;
+
+ private String resourceOwnerAccount;
+
+ private String ipProtocol;
+
+ private String ownerAccount;
+
+ private String sourceCidrIp;
+
+ private Long ownerId;
+
+ private String priority;
+
+ private String destCidrIp;
+
+ private String sourceGroupId;
+ public AuthorizeSecurityGroupRequest() {
+ super("Ecs", "2014-05-26", "AuthorizeSecurityGroup", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getNicType() {
+ return this.nicType;
+ }
+
+ public void setNicType(String nicType) {
+ this.nicType = nicType;
+ if(nicType != null){
+ putQueryParameter("NicType", nicType);
+ }
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getSourcePrefixListId() {
+ return this.sourcePrefixListId;
+ }
+
+ public void setSourcePrefixListId(String sourcePrefixListId) {
+ this.sourcePrefixListId = sourcePrefixListId;
+ if(sourcePrefixListId != null){
+ putQueryParameter("SourcePrefixListId", sourcePrefixListId);
+ }
+ }
+
+ public String getSourcePortRange() {
+ return this.sourcePortRange;
+ }
+
+ public void setSourcePortRange(String sourcePortRange) {
+ this.sourcePortRange = sourcePortRange;
+ if(sourcePortRange != null){
+ putQueryParameter("SourcePortRange", sourcePortRange);
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getSecurityGroupId() {
+ return this.securityGroupId;
+ }
+
+ public void setSecurityGroupId(String securityGroupId) {
+ this.securityGroupId = securityGroupId;
+ if(securityGroupId != null){
+ putQueryParameter("SecurityGroupId", securityGroupId);
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public Long getSourceGroupOwnerId() {
+ return this.sourceGroupOwnerId;
+ }
+
+ public void setSourceGroupOwnerId(Long sourceGroupOwnerId) {
+ this.sourceGroupOwnerId = sourceGroupOwnerId;
+ if(sourceGroupOwnerId != null){
+ putQueryParameter("SourceGroupOwnerId", sourceGroupOwnerId.toString());
+ }
+ }
+
+ public String getSourceGroupOwnerAccount() {
+ return this.sourceGroupOwnerAccount;
+ }
+
+ public void setSourceGroupOwnerAccount(String sourceGroupOwnerAccount) {
+ this.sourceGroupOwnerAccount = sourceGroupOwnerAccount;
+ if(sourceGroupOwnerAccount != null){
+ putQueryParameter("SourceGroupOwnerAccount", sourceGroupOwnerAccount);
+ }
+ }
+
+ public List getPermissions() {
+ return this.permissions;
+ }
+
+ public void setPermissions(List permissions) {
+ this.permissions = permissions;
+ if (permissions != null) {
+ for (int depth1 = 0; depth1 < permissions.size(); depth1++) {
+ if (permissions.get(depth1) != null) {
+
+ putQueryParameter("Permissions." + (depth1 + 1) + ".Policy" , permissions.get(depth1).getPolicy());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".Priority" , permissions.get(depth1).getPriority());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".IpProtocol" , permissions.get(depth1).getIpProtocol());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".SourceCidrIp" , permissions.get(depth1).getSourceCidrIp());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".Ipv6SourceCidrIp" , permissions.get(depth1).getIpv6SourceCidrIp());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".SourceGroupId" , permissions.get(depth1).getSourceGroupId());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".SourcePrefixListId" , permissions.get(depth1).getSourcePrefixListId());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".PortRange" , permissions.get(depth1).getPortRange());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".DestCidrIp" , permissions.get(depth1).getDestCidrIp());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".Ipv6DestCidrIp" , permissions.get(depth1).getIpv6DestCidrIp());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".SourcePortRange" , permissions.get(depth1).getSourcePortRange());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".SourceGroupOwnerAccount" , permissions.get(depth1).getSourceGroupOwnerAccount());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".SourceGroupOwnerId" , permissions.get(depth1).getSourceGroupOwnerId());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".NicType" , permissions.get(depth1).getNicType());
+ putQueryParameter("Permissions." + (depth1 + 1) + ".Description" , permissions.get(depth1).getDescription());
+ }
+ }
+ }
+ }
+
+ public String getPolicy() {
+ return this.policy;
+ }
+
+ public void setPolicy(String policy) {
+ this.policy = policy;
+ if(policy != null){
+ putQueryParameter("Policy", policy);
+ }
+ }
+
+ public String getIpv6SourceCidrIp() {
+ return this.ipv6SourceCidrIp;
+ }
+
+ public void setIpv6SourceCidrIp(String ipv6SourceCidrIp) {
+ this.ipv6SourceCidrIp = ipv6SourceCidrIp;
+ if(ipv6SourceCidrIp != null){
+ putQueryParameter("Ipv6SourceCidrIp", ipv6SourceCidrIp);
+ }
+ }
+
+ public String getIpv6DestCidrIp() {
+ return this.ipv6DestCidrIp;
+ }
+
+ public void setIpv6DestCidrIp(String ipv6DestCidrIp) {
+ this.ipv6DestCidrIp = ipv6DestCidrIp;
+ if(ipv6DestCidrIp != null){
+ putQueryParameter("Ipv6DestCidrIp", ipv6DestCidrIp);
+ }
+ }
+
+ public String getPortRange() {
+ return this.portRange;
+ }
+
+ public void setPortRange(String portRange) {
+ this.portRange = portRange;
+ if(portRange != null){
+ putQueryParameter("PortRange", portRange);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getIpProtocol() {
+ return this.ipProtocol;
+ }
+
+ public void setIpProtocol(String ipProtocol) {
+ this.ipProtocol = ipProtocol;
+ if(ipProtocol != null){
+ putQueryParameter("IpProtocol", ipProtocol);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public String getSourceCidrIp() {
+ return this.sourceCidrIp;
+ }
+
+ public void setSourceCidrIp(String sourceCidrIp) {
+ this.sourceCidrIp = sourceCidrIp;
+ if(sourceCidrIp != null){
+ putQueryParameter("SourceCidrIp", sourceCidrIp);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getPriority() {
+ return this.priority;
+ }
+
+ public void setPriority(String priority) {
+ this.priority = priority;
+ if(priority != null){
+ putQueryParameter("Priority", priority);
+ }
+ }
+
+ public String getDestCidrIp() {
+ return this.destCidrIp;
+ }
+
+ public void setDestCidrIp(String destCidrIp) {
+ this.destCidrIp = destCidrIp;
+ if(destCidrIp != null){
+ putQueryParameter("DestCidrIp", destCidrIp);
+ }
+ }
+
+ public String getSourceGroupId() {
+ return this.sourceGroupId;
+ }
+
+ public void setSourceGroupId(String sourceGroupId) {
+ this.sourceGroupId = sourceGroupId;
+ if(sourceGroupId != null){
+ putQueryParameter("SourceGroupId", sourceGroupId);
+ }
+ }
+
+ public static class Permissions {
+
+ private String policy;
+
+ private String priority;
+
+ private String ipProtocol;
+
+ private String sourceCidrIp;
+
+ private String ipv6SourceCidrIp;
+
+ private String sourceGroupId;
+
+ private String sourcePrefixListId;
+
+ private String portRange;
+
+ private String destCidrIp;
+
+ private String ipv6DestCidrIp;
+
+ private String sourcePortRange;
+
+ private String sourceGroupOwnerAccount;
+
+ private Long sourceGroupOwnerId;
+
+ private String nicType;
+
+ private String description;
+
+ public String getPolicy() {
+ return this.policy;
+ }
+
+ public void setPolicy(String policy) {
+ this.policy = policy;
+ }
+
+ public String getPriority() {
+ return this.priority;
+ }
+
+ public void setPriority(String priority) {
+ this.priority = priority;
+ }
+
+ public String getIpProtocol() {
+ return this.ipProtocol;
+ }
+
+ public void setIpProtocol(String ipProtocol) {
+ this.ipProtocol = ipProtocol;
+ }
+
+ public String getSourceCidrIp() {
+ return this.sourceCidrIp;
+ }
+
+ public void setSourceCidrIp(String sourceCidrIp) {
+ this.sourceCidrIp = sourceCidrIp;
+ }
+
+ public String getIpv6SourceCidrIp() {
+ return this.ipv6SourceCidrIp;
+ }
+
+ public void setIpv6SourceCidrIp(String ipv6SourceCidrIp) {
+ this.ipv6SourceCidrIp = ipv6SourceCidrIp;
+ }
+
+ public String getSourceGroupId() {
+ return this.sourceGroupId;
+ }
+
+ public void setSourceGroupId(String sourceGroupId) {
+ this.sourceGroupId = sourceGroupId;
+ }
+
+ public String getSourcePrefixListId() {
+ return this.sourcePrefixListId;
+ }
+
+ public void setSourcePrefixListId(String sourcePrefixListId) {
+ this.sourcePrefixListId = sourcePrefixListId;
+ }
+
+ public String getPortRange() {
+ return this.portRange;
+ }
+
+ public void setPortRange(String portRange) {
+ this.portRange = portRange;
+ }
+
+ public String getDestCidrIp() {
+ return this.destCidrIp;
+ }
+
+ public void setDestCidrIp(String destCidrIp) {
+ this.destCidrIp = destCidrIp;
+ }
+
+ public String getIpv6DestCidrIp() {
+ return this.ipv6DestCidrIp;
+ }
+
+ public void setIpv6DestCidrIp(String ipv6DestCidrIp) {
+ this.ipv6DestCidrIp = ipv6DestCidrIp;
+ }
+
+ public String getSourcePortRange() {
+ return this.sourcePortRange;
+ }
+
+ public void setSourcePortRange(String sourcePortRange) {
+ this.sourcePortRange = sourcePortRange;
+ }
+
+ public String getSourceGroupOwnerAccount() {
+ return this.sourceGroupOwnerAccount;
+ }
+
+ public void setSourceGroupOwnerAccount(String sourceGroupOwnerAccount) {
+ this.sourceGroupOwnerAccount = sourceGroupOwnerAccount;
+ }
+
+ public Long getSourceGroupOwnerId() {
+ return this.sourceGroupOwnerId;
+ }
+
+ public void setSourceGroupOwnerId(Long sourceGroupOwnerId) {
+ this.sourceGroupOwnerId = sourceGroupOwnerId;
+ }
+
+ public String getNicType() {
+ return this.nicType;
+ }
+
+ public void setNicType(String nicType) {
+ this.nicType = nicType;
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AuthorizeSecurityGroupResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AuthorizeSecurityGroupResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AuthorizeSecurityGroupResponse.java
new file mode 100644
index 0000000000..7fdc72f485
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/AuthorizeSecurityGroupResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.AuthorizeSecurityGroupResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AuthorizeSecurityGroupResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public AuthorizeSecurityGroupResponse getInstance(UnmarshallerContext context) {
+ return AuthorizeSecurityGroupResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelAutoSnapshotPolicyRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelAutoSnapshotPolicyRequest.java
new file mode 100644
index 0000000000..1b993c7cc0
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelAutoSnapshotPolicyRequest.java
@@ -0,0 +1,93 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CancelAutoSnapshotPolicyRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String diskIds;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+ public CancelAutoSnapshotPolicyRequest() {
+ super("Ecs", "2014-05-26", "CancelAutoSnapshotPolicy", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getDiskIds() {
+ return this.diskIds;
+ }
+
+ public void setDiskIds(String diskIds) {
+ this.diskIds = diskIds;
+ if(diskIds != null){
+ putQueryParameter("diskIds", diskIds);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CancelAutoSnapshotPolicyResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelAutoSnapshotPolicyResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelAutoSnapshotPolicyResponse.java
new file mode 100644
index 0000000000..f4b69cd9a9
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelAutoSnapshotPolicyResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CancelAutoSnapshotPolicyResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CancelAutoSnapshotPolicyResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CancelAutoSnapshotPolicyResponse getInstance(UnmarshallerContext context) {
+ return CancelAutoSnapshotPolicyResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelCopyImageRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelCopyImageRequest.java
new file mode 100644
index 0000000000..4556785a5f
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelCopyImageRequest.java
@@ -0,0 +1,106 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CancelCopyImageRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String imageId;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+ public CancelCopyImageRequest() {
+ super("Ecs", "2014-05-26", "CancelCopyImage", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getImageId() {
+ return this.imageId;
+ }
+
+ public void setImageId(String imageId) {
+ this.imageId = imageId;
+ if(imageId != null){
+ putQueryParameter("ImageId", imageId);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CancelCopyImageResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelCopyImageResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelCopyImageResponse.java
new file mode 100644
index 0000000000..4868662f32
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelCopyImageResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CancelCopyImageResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CancelCopyImageResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CancelCopyImageResponse getInstance(UnmarshallerContext context) {
+ return CancelCopyImageResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelImagePipelineExecutionRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelImagePipelineExecutionRequest.java
new file mode 100644
index 0000000000..14fc077cb4
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelImagePipelineExecutionRequest.java
@@ -0,0 +1,146 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CancelImagePipelineExecutionRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String executionId;
+
+ private List templateTags;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+ public CancelImagePipelineExecutionRequest() {
+ super("Ecs", "2014-05-26", "CancelImagePipelineExecution", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getExecutionId() {
+ return this.executionId;
+ }
+
+ public void setExecutionId(String executionId) {
+ this.executionId = executionId;
+ if(executionId != null){
+ putQueryParameter("ExecutionId", executionId);
+ }
+ }
+
+ public List getTemplateTags() {
+ return this.templateTags;
+ }
+
+ public void setTemplateTags(List templateTags) {
+ this.templateTags = templateTags;
+ if (templateTags != null) {
+ for (int depth1 = 0; depth1 < templateTags.size(); depth1++) {
+ putQueryParameter("TemplateTag." + (depth1 + 1) + ".Key" , templateTags.get(depth1).getKey());
+ putQueryParameter("TemplateTag." + (depth1 + 1) + ".Value" , templateTags.get(depth1).getValue());
+ }
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public static class TemplateTag {
+
+ private String key;
+
+ private String value;
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CancelImagePipelineExecutionResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelImagePipelineExecutionResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelImagePipelineExecutionResponse.java
new file mode 100644
index 0000000000..80de5341bf
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelImagePipelineExecutionResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CancelImagePipelineExecutionResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CancelImagePipelineExecutionResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CancelImagePipelineExecutionResponse getInstance(UnmarshallerContext context) {
+ return CancelImagePipelineExecutionResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelPhysicalConnectionRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelPhysicalConnectionRequest.java
new file mode 100644
index 0000000000..4f04d3fd28
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelPhysicalConnectionRequest.java
@@ -0,0 +1,132 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CancelPhysicalConnectionRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String clientToken;
+
+ private String userCidr;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String physicalConnectionId;
+ public CancelPhysicalConnectionRequest() {
+ super("Ecs", "2014-05-26", "CancelPhysicalConnection", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getUserCidr() {
+ return this.userCidr;
+ }
+
+ public void setUserCidr(String userCidr) {
+ this.userCidr = userCidr;
+ if(userCidr != null){
+ putQueryParameter("UserCidr", userCidr);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getPhysicalConnectionId() {
+ return this.physicalConnectionId;
+ }
+
+ public void setPhysicalConnectionId(String physicalConnectionId) {
+ this.physicalConnectionId = physicalConnectionId;
+ if(physicalConnectionId != null){
+ putQueryParameter("PhysicalConnectionId", physicalConnectionId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CancelPhysicalConnectionResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelPhysicalConnectionResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelPhysicalConnectionResponse.java
new file mode 100644
index 0000000000..2016c5e56e
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelPhysicalConnectionResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CancelPhysicalConnectionResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CancelPhysicalConnectionResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CancelPhysicalConnectionResponse getInstance(UnmarshallerContext context) {
+ return CancelPhysicalConnectionResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelSimulatedSystemEventsRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelSimulatedSystemEventsRequest.java
new file mode 100644
index 0000000000..09f47ba225
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelSimulatedSystemEventsRequest.java
@@ -0,0 +1,109 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CancelSimulatedSystemEventsRequest extends RpcAcsRequest {
+
+
+ private List eventIds;
+
+ private Long resourceOwnerId;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+ public CancelSimulatedSystemEventsRequest() {
+ super("Ecs", "2014-05-26", "CancelSimulatedSystemEvents", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public List getEventIds() {
+ return this.eventIds;
+ }
+
+ public void setEventIds(List eventIds) {
+ this.eventIds = eventIds;
+ if (eventIds != null) {
+ for (int i = 0; i < eventIds.size(); i++) {
+ putQueryParameter("EventId." + (i + 1) , eventIds.get(i));
+ }
+ }
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CancelSimulatedSystemEventsResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelSimulatedSystemEventsResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelSimulatedSystemEventsResponse.java
new file mode 100644
index 0000000000..3fb43b8451
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelSimulatedSystemEventsResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CancelSimulatedSystemEventsResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CancelSimulatedSystemEventsResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CancelSimulatedSystemEventsResponse getInstance(UnmarshallerContext context) {
+ return CancelSimulatedSystemEventsResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelTaskRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelTaskRequest.java
new file mode 100644
index 0000000000..ea4898574d
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelTaskRequest.java
@@ -0,0 +1,93 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CancelTaskRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String taskId;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+ public CancelTaskRequest() {
+ super("Ecs", "2014-05-26", "CancelTask", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getTaskId() {
+ return this.taskId;
+ }
+
+ public void setTaskId(String taskId) {
+ this.taskId = taskId;
+ if(taskId != null){
+ putQueryParameter("TaskId", taskId);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CancelTaskResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelTaskResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelTaskResponse.java
new file mode 100644
index 0000000000..88c9b6d352
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CancelTaskResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CancelTaskResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CancelTaskResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CancelTaskResponse getInstance(UnmarshallerContext context) {
+ return CancelTaskResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ConnectRouterInterfaceRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ConnectRouterInterfaceRequest.java
new file mode 100644
index 0000000000..9b91be76ca
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ConnectRouterInterfaceRequest.java
@@ -0,0 +1,93 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ConnectRouterInterfaceRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
+ private String routerInterfaceId;
+ public ConnectRouterInterfaceRequest() {
+ super("Ecs", "2014-05-26", "ConnectRouterInterface", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getRouterInterfaceId() {
+ return this.routerInterfaceId;
+ }
+
+ public void setRouterInterfaceId(String routerInterfaceId) {
+ this.routerInterfaceId = routerInterfaceId;
+ if(routerInterfaceId != null){
+ putQueryParameter("RouterInterfaceId", routerInterfaceId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ConnectRouterInterfaceResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ConnectRouterInterfaceResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ConnectRouterInterfaceResponse.java
new file mode 100644
index 0000000000..1baaddb217
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ConnectRouterInterfaceResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.ConnectRouterInterfaceResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ConnectRouterInterfaceResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public ConnectRouterInterfaceResponse getInstance(UnmarshallerContext context) {
+ return ConnectRouterInterfaceResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ConvertNatPublicIpToEipRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ConvertNatPublicIpToEipRequest.java
new file mode 100644
index 0000000000..5102ed2073
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ConvertNatPublicIpToEipRequest.java
@@ -0,0 +1,93 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ConvertNatPublicIpToEipRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
+ private String instanceId;
+ public ConvertNatPublicIpToEipRequest() {
+ super("Ecs", "2014-05-26", "ConvertNatPublicIpToEip", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ if(instanceId != null){
+ putQueryParameter("InstanceId", instanceId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ConvertNatPublicIpToEipResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ConvertNatPublicIpToEipResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ConvertNatPublicIpToEipResponse.java
new file mode 100644
index 0000000000..73b5e4e0a0
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ConvertNatPublicIpToEipResponse.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.ConvertNatPublicIpToEipResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ConvertNatPublicIpToEipResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public ConvertNatPublicIpToEipResponse getInstance(UnmarshallerContext context) {
+ return ConvertNatPublicIpToEipResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CopyImageRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CopyImageRequest.java
new file mode 100644
index 0000000000..3c88f14f39
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CopyImageRequest.java
@@ -0,0 +1,237 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CopyImageRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String imageId;
+
+ private String encryptAlgorithm;
+
+ private String destinationRegionId;
+
+ private String resourceGroupId;
+
+ private List tags;
+
+ private String resourceOwnerAccount;
+
+ private String destinationImageName;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private Boolean encrypted;
+
+ private String kMSKeyId;
+
+ private String destinationDescription;
+ public CopyImageRequest() {
+ super("Ecs", "2014-05-26", "CopyImage", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getImageId() {
+ return this.imageId;
+ }
+
+ public void setImageId(String imageId) {
+ this.imageId = imageId;
+ if(imageId != null){
+ putQueryParameter("ImageId", imageId);
+ }
+ }
+
+ public String getEncryptAlgorithm() {
+ return this.encryptAlgorithm;
+ }
+
+ public void setEncryptAlgorithm(String encryptAlgorithm) {
+ this.encryptAlgorithm = encryptAlgorithm;
+ if(encryptAlgorithm != null){
+ putQueryParameter("EncryptAlgorithm", encryptAlgorithm);
+ }
+ }
+
+ public String getDestinationRegionId() {
+ return this.destinationRegionId;
+ }
+
+ public void setDestinationRegionId(String destinationRegionId) {
+ this.destinationRegionId = destinationRegionId;
+ if(destinationRegionId != null){
+ putQueryParameter("DestinationRegionId", destinationRegionId);
+ }
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ if(resourceGroupId != null){
+ putQueryParameter("ResourceGroupId", resourceGroupId);
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ }
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getDestinationImageName() {
+ return this.destinationImageName;
+ }
+
+ public void setDestinationImageName(String destinationImageName) {
+ this.destinationImageName = destinationImageName;
+ if(destinationImageName != null){
+ putQueryParameter("DestinationImageName", destinationImageName);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public Boolean getEncrypted() {
+ return this.encrypted;
+ }
+
+ public void setEncrypted(Boolean encrypted) {
+ this.encrypted = encrypted;
+ if(encrypted != null){
+ putQueryParameter("Encrypted", encrypted.toString());
+ }
+ }
+
+ public String getKMSKeyId() {
+ return this.kMSKeyId;
+ }
+
+ public void setKMSKeyId(String kMSKeyId) {
+ this.kMSKeyId = kMSKeyId;
+ if(kMSKeyId != null){
+ putQueryParameter("KMSKeyId", kMSKeyId);
+ }
+ }
+
+ public String getDestinationDescription() {
+ return this.destinationDescription;
+ }
+
+ public void setDestinationDescription(String destinationDescription) {
+ this.destinationDescription = destinationDescription;
+ if(destinationDescription != null){
+ putQueryParameter("DestinationDescription", destinationDescription);
+ }
+ }
+
+ public static class Tag {
+
+ private String value;
+
+ private String key;
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CopyImageResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CopyImageResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CopyImageResponse.java
new file mode 100644
index 0000000000..a06a9e2d05
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CopyImageResponse.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CopyImageResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CopyImageResponse extends AcsResponse {
+
+ private String imageId;
+
+ private String requestId;
+
+ public String getImageId() {
+ return this.imageId;
+ }
+
+ public void setImageId(String imageId) {
+ this.imageId = imageId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CopyImageResponse getInstance(UnmarshallerContext context) {
+ return CopyImageResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CopySnapshotRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CopySnapshotRequest.java
new file mode 100644
index 0000000000..0b29396761
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CopySnapshotRequest.java
@@ -0,0 +1,274 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CopySnapshotRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String snapshotId;
+
+ private String destinationRegionId;
+
+ private String resourceGroupId;
+
+ private List tags;
+
+ private List arns;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
+ private String destinationSnapshotName;
+
+ private String destinationSnapshotDescription;
+
+ private Boolean encrypted;
+
+ private Integer retentionDays;
+
+ private String kMSKeyId;
+ public CopySnapshotRequest() {
+ super("Ecs", "2014-05-26", "CopySnapshot", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getSnapshotId() {
+ return this.snapshotId;
+ }
+
+ public void setSnapshotId(String snapshotId) {
+ this.snapshotId = snapshotId;
+ if(snapshotId != null){
+ putQueryParameter("SnapshotId", snapshotId);
+ }
+ }
+
+ public String getDestinationRegionId() {
+ return this.destinationRegionId;
+ }
+
+ public void setDestinationRegionId(String destinationRegionId) {
+ this.destinationRegionId = destinationRegionId;
+ if(destinationRegionId != null){
+ putQueryParameter("DestinationRegionId", destinationRegionId);
+ }
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ if(resourceGroupId != null){
+ putQueryParameter("ResourceGroupId", resourceGroupId);
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ }
+ }
+ }
+
+ public List getArns() {
+ return this.arns;
+ }
+
+ public void setArns(List arns) {
+ this.arns = arns;
+ if (arns != null) {
+ for (int depth1 = 0; depth1 < arns.size(); depth1++) {
+ putQueryParameter("Arn." + (depth1 + 1) + ".RoleType" , arns.get(depth1).getRoleType());
+ putQueryParameter("Arn." + (depth1 + 1) + ".Rolearn" , arns.get(depth1).getRolearn());
+ putQueryParameter("Arn." + (depth1 + 1) + ".AssumeRoleFor" , arns.get(depth1).getAssumeRoleFor());
+ }
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getDestinationSnapshotName() {
+ return this.destinationSnapshotName;
+ }
+
+ public void setDestinationSnapshotName(String destinationSnapshotName) {
+ this.destinationSnapshotName = destinationSnapshotName;
+ if(destinationSnapshotName != null){
+ putQueryParameter("DestinationSnapshotName", destinationSnapshotName);
+ }
+ }
+
+ public String getDestinationSnapshotDescription() {
+ return this.destinationSnapshotDescription;
+ }
+
+ public void setDestinationSnapshotDescription(String destinationSnapshotDescription) {
+ this.destinationSnapshotDescription = destinationSnapshotDescription;
+ if(destinationSnapshotDescription != null){
+ putQueryParameter("DestinationSnapshotDescription", destinationSnapshotDescription);
+ }
+ }
+
+ public Boolean getEncrypted() {
+ return this.encrypted;
+ }
+
+ public void setEncrypted(Boolean encrypted) {
+ this.encrypted = encrypted;
+ if(encrypted != null){
+ putQueryParameter("Encrypted", encrypted.toString());
+ }
+ }
+
+ public Integer getRetentionDays() {
+ return this.retentionDays;
+ }
+
+ public void setRetentionDays(Integer retentionDays) {
+ this.retentionDays = retentionDays;
+ if(retentionDays != null){
+ putQueryParameter("RetentionDays", retentionDays.toString());
+ }
+ }
+
+ public String getKMSKeyId() {
+ return this.kMSKeyId;
+ }
+
+ public void setKMSKeyId(String kMSKeyId) {
+ this.kMSKeyId = kMSKeyId;
+ if(kMSKeyId != null){
+ putQueryParameter("KMSKeyId", kMSKeyId);
+ }
+ }
+
+ public static class Tag {
+
+ private String key;
+
+ private String value;
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+ }
+
+ public static class Arn {
+
+ private String roleType;
+
+ private String rolearn;
+
+ private Long assumeRoleFor;
+
+ public String getRoleType() {
+ return this.roleType;
+ }
+
+ public void setRoleType(String roleType) {
+ this.roleType = roleType;
+ }
+
+ public String getRolearn() {
+ return this.rolearn;
+ }
+
+ public void setRolearn(String rolearn) {
+ this.rolearn = rolearn;
+ }
+
+ public Long getAssumeRoleFor() {
+ return this.assumeRoleFor;
+ }
+
+ public void setAssumeRoleFor(Long assumeRoleFor) {
+ this.assumeRoleFor = assumeRoleFor;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CopySnapshotResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CopySnapshotResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CopySnapshotResponse.java
new file mode 100644
index 0000000000..f2376e72a1
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CopySnapshotResponse.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CopySnapshotResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CopySnapshotResponse extends AcsResponse {
+
+ private String snapshotId;
+
+ private String requestId;
+
+ public String getSnapshotId() {
+ return this.snapshotId;
+ }
+
+ public void setSnapshotId(String snapshotId) {
+ this.snapshotId = snapshotId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CopySnapshotResponse getInstance(UnmarshallerContext context) {
+ return CopySnapshotResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateActivationRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateActivationRequest.java
new file mode 100644
index 0000000000..8292c30c9a
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateActivationRequest.java
@@ -0,0 +1,198 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateActivationRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String description;
+
+ private Integer instanceCount;
+
+ private List tags;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String instanceName;
+
+ private Long timeToLiveInHours;
+
+ private String ipAddressRange;
+ public CreateActivationRequest() {
+ super("Ecs", "2014-05-26", "CreateActivation", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public Integer getInstanceCount() {
+ return this.instanceCount;
+ }
+
+ public void setInstanceCount(Integer instanceCount) {
+ this.instanceCount = instanceCount;
+ if(instanceCount != null){
+ putQueryParameter("InstanceCount", instanceCount.toString());
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ }
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getInstanceName() {
+ return this.instanceName;
+ }
+
+ public void setInstanceName(String instanceName) {
+ this.instanceName = instanceName;
+ if(instanceName != null){
+ putQueryParameter("InstanceName", instanceName);
+ }
+ }
+
+ public Long getTimeToLiveInHours() {
+ return this.timeToLiveInHours;
+ }
+
+ public void setTimeToLiveInHours(Long timeToLiveInHours) {
+ this.timeToLiveInHours = timeToLiveInHours;
+ if(timeToLiveInHours != null){
+ putQueryParameter("TimeToLiveInHours", timeToLiveInHours.toString());
+ }
+ }
+
+ public String getIpAddressRange() {
+ return this.ipAddressRange;
+ }
+
+ public void setIpAddressRange(String ipAddressRange) {
+ this.ipAddressRange = ipAddressRange;
+ if(ipAddressRange != null){
+ putQueryParameter("IpAddressRange", ipAddressRange);
+ }
+ }
+
+ public static class Tag {
+
+ private String key;
+
+ private String value;
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateActivationResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateActivationResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateActivationResponse.java
new file mode 100644
index 0000000000..6714e7d55c
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateActivationResponse.java
@@ -0,0 +1,66 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateActivationResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateActivationResponse extends AcsResponse {
+
+ private String requestId;
+
+ private String activationCode;
+
+ private String activationId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public String getActivationCode() {
+ return this.activationCode;
+ }
+
+ public void setActivationCode(String activationCode) {
+ this.activationCode = activationCode;
+ }
+
+ public String getActivationId() {
+ return this.activationId;
+ }
+
+ public void setActivationId(String activationId) {
+ this.activationId = activationId;
+ }
+
+ @Override
+ public CreateActivationResponse getInstance(UnmarshallerContext context) {
+ return CreateActivationResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateAutoProvisioningGroupRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateAutoProvisioningGroupRequest.java
new file mode 100644
index 0000000000..77198bfe18
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateAutoProvisioningGroupRequest.java
@@ -0,0 +1,1221 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateAutoProvisioningGroupRequest extends RpcAcsRequest {
+
+
+ private List launchConfigurationDataDisks;
+
+ private Long resourceOwnerId;
+
+ private String launchConfigurationSystemDiskCategory;
+
+ private String autoProvisioningGroupType;
+
+ private String launchConfigurationSystemDiskPerformanceLevel;
+
+ private List launchConfigurationHostNamess;
+
+ private List launchConfigurationSecurityGroupIdss;
+
+ private String resourceGroupId;
+
+ private String launchConfigurationImageId;
+
+ private String launchConfigurationResourceGroupId;
+
+ private String launchConfigurationPassword;
+
+ private String launchConfigurationAutoReleaseTime;
+
+ private String payAsYouGoAllocationStrategy;
+
+ private String defaultTargetCapacityType;
+
+ private String launchConfigurationKeyPairName;
+
+ private List systemDiskConfigs;
+
+ private List dataDiskConfigs;
+
+ private String validUntil;
+
+ private String launchTemplateId;
+
+ private Long ownerId;
+
+ private Integer launchConfigurationSystemDiskSize;
+
+ private Integer launchConfigurationInternetMaxBandwidthOut;
+
+ private String launchConfigurationHostName;
+
+ private String minTargetCapacity;
+
+ private Float maxSpotPrice;
+
+ private List launchConfigurationArns;
+
+ private Boolean launchConfigurationPasswordInherit;
+
+ private String clientToken;
+
+ private String launchConfigurationSecurityGroupId;
+
+ private String description;
+
+ private Boolean terminateInstancesWithExpiration;
+
+ private String launchConfigurationUserData;
+
+ private String launchConfigurationCreditSpecification;
+
+ private LaunchConfigurationSystemDisk launchConfigurationSystemDisk;
+
+ private String launchConfigurationInstanceName;
+
+ private String launchConfigurationInstanceDescription;
+
+ private String spotAllocationStrategy;
+
+ private Boolean terminateInstances;
+
+ private String launchConfigurationSystemDiskName;
+
+ private String launchConfigurationSystemDiskDescription;
+
+ private String excessCapacityTerminationPolicy;
+
+ private List launchTemplateConfigs;
+
+ private String launchConfigurationRamRoleName;
+
+ private Integer launchConfigurationInternetMaxBandwidthIn;
+
+ private String spotInstanceInterruptionBehavior;
+
+ private String launchConfigurationSecurityEnhancementStrategy;
+
+ private List launchConfigurationTags;
+
+ private String launchConfigurationDeploymentSetId;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Integer spotInstancePoolsToUseCount;
+
+ private String launchConfigurationInternetChargeType;
+
+ private String launchTemplateVersion;
+
+ private String launchConfigurationIoOptimized;
+
+ private String payAsYouGoTargetCapacity;
+
+ private Boolean hibernationOptionsConfigured;
+
+ private String totalTargetCapacity;
+
+ private String spotTargetCapacity;
+
+ private String validFrom;
+
+ private String autoProvisioningGroupName;
+ public CreateAutoProvisioningGroupRequest() {
+ super("Ecs", "2014-05-26", "CreateAutoProvisioningGroup", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public List getLaunchConfigurationDataDisks() {
+ return this.launchConfigurationDataDisks;
+ }
+
+ public void setLaunchConfigurationDataDisks(List launchConfigurationDataDisks) {
+ this.launchConfigurationDataDisks = launchConfigurationDataDisks;
+ if (launchConfigurationDataDisks != null) {
+ for (int depth1 = 0; depth1 < launchConfigurationDataDisks.size(); depth1++) {
+ putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".PerformanceLevel" , launchConfigurationDataDisks.get(depth1).getPerformanceLevel());
+ putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".KmsKeyId" , launchConfigurationDataDisks.get(depth1).getKmsKeyId());
+ putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".Description" , launchConfigurationDataDisks.get(depth1).getDescription());
+ putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".SnapshotId" , launchConfigurationDataDisks.get(depth1).getSnapshotId());
+ putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".Size" , launchConfigurationDataDisks.get(depth1).getSize());
+ putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".Device" , launchConfigurationDataDisks.get(depth1).getDevice());
+ putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".DiskName" , launchConfigurationDataDisks.get(depth1).getDiskName());
+ putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".Category" , launchConfigurationDataDisks.get(depth1).getCategory());
+ putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".DeleteWithInstance" , launchConfigurationDataDisks.get(depth1).getDeleteWithInstance());
+ putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".Encrypted" , launchConfigurationDataDisks.get(depth1).getEncrypted());
+ }
+ }
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getLaunchConfigurationSystemDiskCategory() {
+ return this.launchConfigurationSystemDiskCategory;
+ }
+
+ public void setLaunchConfigurationSystemDiskCategory(String launchConfigurationSystemDiskCategory) {
+ this.launchConfigurationSystemDiskCategory = launchConfigurationSystemDiskCategory;
+ if(launchConfigurationSystemDiskCategory != null){
+ putQueryParameter("LaunchConfiguration.SystemDiskCategory", launchConfigurationSystemDiskCategory);
+ }
+ }
+
+ public String getAutoProvisioningGroupType() {
+ return this.autoProvisioningGroupType;
+ }
+
+ public void setAutoProvisioningGroupType(String autoProvisioningGroupType) {
+ this.autoProvisioningGroupType = autoProvisioningGroupType;
+ if(autoProvisioningGroupType != null){
+ putQueryParameter("AutoProvisioningGroupType", autoProvisioningGroupType);
+ }
+ }
+
+ public String getLaunchConfigurationSystemDiskPerformanceLevel() {
+ return this.launchConfigurationSystemDiskPerformanceLevel;
+ }
+
+ public void setLaunchConfigurationSystemDiskPerformanceLevel(String launchConfigurationSystemDiskPerformanceLevel) {
+ this.launchConfigurationSystemDiskPerformanceLevel = launchConfigurationSystemDiskPerformanceLevel;
+ if(launchConfigurationSystemDiskPerformanceLevel != null){
+ putQueryParameter("LaunchConfiguration.SystemDiskPerformanceLevel", launchConfigurationSystemDiskPerformanceLevel);
+ }
+ }
+
+ public List getLaunchConfigurationHostNamess() {
+ return this.launchConfigurationHostNamess;
+ }
+
+ public void setLaunchConfigurationHostNamess(List launchConfigurationHostNamess) {
+ this.launchConfigurationHostNamess = launchConfigurationHostNamess;
+ if (launchConfigurationHostNamess != null) {
+ for (int i = 0; i < launchConfigurationHostNamess.size(); i++) {
+ putQueryParameter("LaunchConfiguration.HostNames." + (i + 1) , launchConfigurationHostNamess.get(i));
+ }
+ }
+ }
+
+ public List getLaunchConfigurationSecurityGroupIdss() {
+ return this.launchConfigurationSecurityGroupIdss;
+ }
+
+ public void setLaunchConfigurationSecurityGroupIdss(List launchConfigurationSecurityGroupIdss) {
+ this.launchConfigurationSecurityGroupIdss = launchConfigurationSecurityGroupIdss;
+ if (launchConfigurationSecurityGroupIdss != null) {
+ for (int i = 0; i < launchConfigurationSecurityGroupIdss.size(); i++) {
+ putQueryParameter("LaunchConfiguration.SecurityGroupIds." + (i + 1) , launchConfigurationSecurityGroupIdss.get(i));
+ }
+ }
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ if(resourceGroupId != null){
+ putQueryParameter("ResourceGroupId", resourceGroupId);
+ }
+ }
+
+ public String getLaunchConfigurationImageId() {
+ return this.launchConfigurationImageId;
+ }
+
+ public void setLaunchConfigurationImageId(String launchConfigurationImageId) {
+ this.launchConfigurationImageId = launchConfigurationImageId;
+ if(launchConfigurationImageId != null){
+ putQueryParameter("LaunchConfiguration.ImageId", launchConfigurationImageId);
+ }
+ }
+
+ public String getLaunchConfigurationResourceGroupId() {
+ return this.launchConfigurationResourceGroupId;
+ }
+
+ public void setLaunchConfigurationResourceGroupId(String launchConfigurationResourceGroupId) {
+ this.launchConfigurationResourceGroupId = launchConfigurationResourceGroupId;
+ if(launchConfigurationResourceGroupId != null){
+ putQueryParameter("LaunchConfiguration.ResourceGroupId", launchConfigurationResourceGroupId);
+ }
+ }
+
+ public String getLaunchConfigurationPassword() {
+ return this.launchConfigurationPassword;
+ }
+
+ public void setLaunchConfigurationPassword(String launchConfigurationPassword) {
+ this.launchConfigurationPassword = launchConfigurationPassword;
+ if(launchConfigurationPassword != null){
+ putQueryParameter("LaunchConfiguration.Password", launchConfigurationPassword);
+ }
+ }
+
+ public String getLaunchConfigurationAutoReleaseTime() {
+ return this.launchConfigurationAutoReleaseTime;
+ }
+
+ public void setLaunchConfigurationAutoReleaseTime(String launchConfigurationAutoReleaseTime) {
+ this.launchConfigurationAutoReleaseTime = launchConfigurationAutoReleaseTime;
+ if(launchConfigurationAutoReleaseTime != null){
+ putQueryParameter("LaunchConfiguration.AutoReleaseTime", launchConfigurationAutoReleaseTime);
+ }
+ }
+
+ public String getPayAsYouGoAllocationStrategy() {
+ return this.payAsYouGoAllocationStrategy;
+ }
+
+ public void setPayAsYouGoAllocationStrategy(String payAsYouGoAllocationStrategy) {
+ this.payAsYouGoAllocationStrategy = payAsYouGoAllocationStrategy;
+ if(payAsYouGoAllocationStrategy != null){
+ putQueryParameter("PayAsYouGoAllocationStrategy", payAsYouGoAllocationStrategy);
+ }
+ }
+
+ public String getDefaultTargetCapacityType() {
+ return this.defaultTargetCapacityType;
+ }
+
+ public void setDefaultTargetCapacityType(String defaultTargetCapacityType) {
+ this.defaultTargetCapacityType = defaultTargetCapacityType;
+ if(defaultTargetCapacityType != null){
+ putQueryParameter("DefaultTargetCapacityType", defaultTargetCapacityType);
+ }
+ }
+
+ public String getLaunchConfigurationKeyPairName() {
+ return this.launchConfigurationKeyPairName;
+ }
+
+ public void setLaunchConfigurationKeyPairName(String launchConfigurationKeyPairName) {
+ this.launchConfigurationKeyPairName = launchConfigurationKeyPairName;
+ if(launchConfigurationKeyPairName != null){
+ putQueryParameter("LaunchConfiguration.KeyPairName", launchConfigurationKeyPairName);
+ }
+ }
+
+ public List getSystemDiskConfigs() {
+ return this.systemDiskConfigs;
+ }
+
+ public void setSystemDiskConfigs(List systemDiskConfigs) {
+ this.systemDiskConfigs = systemDiskConfigs;
+ if (systemDiskConfigs != null) {
+ for (int depth1 = 0; depth1 < systemDiskConfigs.size(); depth1++) {
+ putQueryParameter("SystemDiskConfig." + (depth1 + 1) + ".DiskCategory" , systemDiskConfigs.get(depth1).getDiskCategory());
+ }
+ }
+ }
+
+ public List getDataDiskConfigs() {
+ return this.dataDiskConfigs;
+ }
+
+ public void setDataDiskConfigs(List dataDiskConfigs) {
+ this.dataDiskConfigs = dataDiskConfigs;
+ if (dataDiskConfigs != null) {
+ for (int depth1 = 0; depth1 < dataDiskConfigs.size(); depth1++) {
+ putQueryParameter("DataDiskConfig." + (depth1 + 1) + ".DiskCategory" , dataDiskConfigs.get(depth1).getDiskCategory());
+ }
+ }
+ }
+
+ public String getValidUntil() {
+ return this.validUntil;
+ }
+
+ public void setValidUntil(String validUntil) {
+ this.validUntil = validUntil;
+ if(validUntil != null){
+ putQueryParameter("ValidUntil", validUntil);
+ }
+ }
+
+ public String getLaunchTemplateId() {
+ return this.launchTemplateId;
+ }
+
+ public void setLaunchTemplateId(String launchTemplateId) {
+ this.launchTemplateId = launchTemplateId;
+ if(launchTemplateId != null){
+ putQueryParameter("LaunchTemplateId", launchTemplateId);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public Integer getLaunchConfigurationSystemDiskSize() {
+ return this.launchConfigurationSystemDiskSize;
+ }
+
+ public void setLaunchConfigurationSystemDiskSize(Integer launchConfigurationSystemDiskSize) {
+ this.launchConfigurationSystemDiskSize = launchConfigurationSystemDiskSize;
+ if(launchConfigurationSystemDiskSize != null){
+ putQueryParameter("LaunchConfiguration.SystemDiskSize", launchConfigurationSystemDiskSize.toString());
+ }
+ }
+
+ public Integer getLaunchConfigurationInternetMaxBandwidthOut() {
+ return this.launchConfigurationInternetMaxBandwidthOut;
+ }
+
+ public void setLaunchConfigurationInternetMaxBandwidthOut(Integer launchConfigurationInternetMaxBandwidthOut) {
+ this.launchConfigurationInternetMaxBandwidthOut = launchConfigurationInternetMaxBandwidthOut;
+ if(launchConfigurationInternetMaxBandwidthOut != null){
+ putQueryParameter("LaunchConfiguration.InternetMaxBandwidthOut", launchConfigurationInternetMaxBandwidthOut.toString());
+ }
+ }
+
+ public String getLaunchConfigurationHostName() {
+ return this.launchConfigurationHostName;
+ }
+
+ public void setLaunchConfigurationHostName(String launchConfigurationHostName) {
+ this.launchConfigurationHostName = launchConfigurationHostName;
+ if(launchConfigurationHostName != null){
+ putQueryParameter("LaunchConfiguration.HostName", launchConfigurationHostName);
+ }
+ }
+
+ public String getMinTargetCapacity() {
+ return this.minTargetCapacity;
+ }
+
+ public void setMinTargetCapacity(String minTargetCapacity) {
+ this.minTargetCapacity = minTargetCapacity;
+ if(minTargetCapacity != null){
+ putQueryParameter("MinTargetCapacity", minTargetCapacity);
+ }
+ }
+
+ public Float getMaxSpotPrice() {
+ return this.maxSpotPrice;
+ }
+
+ public void setMaxSpotPrice(Float maxSpotPrice) {
+ this.maxSpotPrice = maxSpotPrice;
+ if(maxSpotPrice != null){
+ putQueryParameter("MaxSpotPrice", maxSpotPrice.toString());
+ }
+ }
+
+ public List getLaunchConfigurationArns() {
+ return this.launchConfigurationArns;
+ }
+
+ public void setLaunchConfigurationArns(List launchConfigurationArns) {
+ this.launchConfigurationArns = launchConfigurationArns;
+ if (launchConfigurationArns != null) {
+ for (int depth1 = 0; depth1 < launchConfigurationArns.size(); depth1++) {
+ putQueryParameter("LaunchConfiguration.Arn." + (depth1 + 1) + ".Rolearn" , launchConfigurationArns.get(depth1).getRolearn());
+ putQueryParameter("LaunchConfiguration.Arn." + (depth1 + 1) + ".RoleType" , launchConfigurationArns.get(depth1).getRoleType());
+ putQueryParameter("LaunchConfiguration.Arn." + (depth1 + 1) + ".AssumeRoleFor" , launchConfigurationArns.get(depth1).getAssumeRoleFor());
+ }
+ }
+ }
+
+ public Boolean getLaunchConfigurationPasswordInherit() {
+ return this.launchConfigurationPasswordInherit;
+ }
+
+ public void setLaunchConfigurationPasswordInherit(Boolean launchConfigurationPasswordInherit) {
+ this.launchConfigurationPasswordInherit = launchConfigurationPasswordInherit;
+ if(launchConfigurationPasswordInherit != null){
+ putQueryParameter("LaunchConfiguration.PasswordInherit", launchConfigurationPasswordInherit.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getLaunchConfigurationSecurityGroupId() {
+ return this.launchConfigurationSecurityGroupId;
+ }
+
+ public void setLaunchConfigurationSecurityGroupId(String launchConfigurationSecurityGroupId) {
+ this.launchConfigurationSecurityGroupId = launchConfigurationSecurityGroupId;
+ if(launchConfigurationSecurityGroupId != null){
+ putQueryParameter("LaunchConfiguration.SecurityGroupId", launchConfigurationSecurityGroupId);
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public Boolean getTerminateInstancesWithExpiration() {
+ return this.terminateInstancesWithExpiration;
+ }
+
+ public void setTerminateInstancesWithExpiration(Boolean terminateInstancesWithExpiration) {
+ this.terminateInstancesWithExpiration = terminateInstancesWithExpiration;
+ if(terminateInstancesWithExpiration != null){
+ putQueryParameter("TerminateInstancesWithExpiration", terminateInstancesWithExpiration.toString());
+ }
+ }
+
+ public String getLaunchConfigurationUserData() {
+ return this.launchConfigurationUserData;
+ }
+
+ public void setLaunchConfigurationUserData(String launchConfigurationUserData) {
+ this.launchConfigurationUserData = launchConfigurationUserData;
+ if(launchConfigurationUserData != null){
+ putQueryParameter("LaunchConfiguration.UserData", launchConfigurationUserData);
+ }
+ }
+
+ public String getLaunchConfigurationCreditSpecification() {
+ return this.launchConfigurationCreditSpecification;
+ }
+
+ public void setLaunchConfigurationCreditSpecification(String launchConfigurationCreditSpecification) {
+ this.launchConfigurationCreditSpecification = launchConfigurationCreditSpecification;
+ if(launchConfigurationCreditSpecification != null){
+ putQueryParameter("LaunchConfiguration.CreditSpecification", launchConfigurationCreditSpecification);
+ }
+ }
+
+ public LaunchConfigurationSystemDisk getLaunchConfigurationSystemDisk() {
+ return this.launchConfigurationSystemDisk;
+ }
+
+ public void setLaunchConfigurationSystemDisk(LaunchConfigurationSystemDisk launchConfigurationSystemDisk) {
+ this.launchConfigurationSystemDisk = launchConfigurationSystemDisk;
+ if (launchConfigurationSystemDisk != null) {
+
+ putQueryParameter("LaunchConfiguration.SystemDisk.Encrypted" , launchConfigurationSystemDisk.getEncrypted());
+ putQueryParameter("LaunchConfiguration.SystemDisk.KMSKeyId" , launchConfigurationSystemDisk.getKMSKeyId());
+ putQueryParameter("LaunchConfiguration.SystemDisk.EncryptAlgorithm" , launchConfigurationSystemDisk.getEncryptAlgorithm());
+ }
+ }
+
+ public String getLaunchConfigurationInstanceName() {
+ return this.launchConfigurationInstanceName;
+ }
+
+ public void setLaunchConfigurationInstanceName(String launchConfigurationInstanceName) {
+ this.launchConfigurationInstanceName = launchConfigurationInstanceName;
+ if(launchConfigurationInstanceName != null){
+ putQueryParameter("LaunchConfiguration.InstanceName", launchConfigurationInstanceName);
+ }
+ }
+
+ public String getLaunchConfigurationInstanceDescription() {
+ return this.launchConfigurationInstanceDescription;
+ }
+
+ public void setLaunchConfigurationInstanceDescription(String launchConfigurationInstanceDescription) {
+ this.launchConfigurationInstanceDescription = launchConfigurationInstanceDescription;
+ if(launchConfigurationInstanceDescription != null){
+ putQueryParameter("LaunchConfiguration.InstanceDescription", launchConfigurationInstanceDescription);
+ }
+ }
+
+ public String getSpotAllocationStrategy() {
+ return this.spotAllocationStrategy;
+ }
+
+ public void setSpotAllocationStrategy(String spotAllocationStrategy) {
+ this.spotAllocationStrategy = spotAllocationStrategy;
+ if(spotAllocationStrategy != null){
+ putQueryParameter("SpotAllocationStrategy", spotAllocationStrategy);
+ }
+ }
+
+ public Boolean getTerminateInstances() {
+ return this.terminateInstances;
+ }
+
+ public void setTerminateInstances(Boolean terminateInstances) {
+ this.terminateInstances = terminateInstances;
+ if(terminateInstances != null){
+ putQueryParameter("TerminateInstances", terminateInstances.toString());
+ }
+ }
+
+ public String getLaunchConfigurationSystemDiskName() {
+ return this.launchConfigurationSystemDiskName;
+ }
+
+ public void setLaunchConfigurationSystemDiskName(String launchConfigurationSystemDiskName) {
+ this.launchConfigurationSystemDiskName = launchConfigurationSystemDiskName;
+ if(launchConfigurationSystemDiskName != null){
+ putQueryParameter("LaunchConfiguration.SystemDiskName", launchConfigurationSystemDiskName);
+ }
+ }
+
+ public String getLaunchConfigurationSystemDiskDescription() {
+ return this.launchConfigurationSystemDiskDescription;
+ }
+
+ public void setLaunchConfigurationSystemDiskDescription(String launchConfigurationSystemDiskDescription) {
+ this.launchConfigurationSystemDiskDescription = launchConfigurationSystemDiskDescription;
+ if(launchConfigurationSystemDiskDescription != null){
+ putQueryParameter("LaunchConfiguration.SystemDiskDescription", launchConfigurationSystemDiskDescription);
+ }
+ }
+
+ public String getExcessCapacityTerminationPolicy() {
+ return this.excessCapacityTerminationPolicy;
+ }
+
+ public void setExcessCapacityTerminationPolicy(String excessCapacityTerminationPolicy) {
+ this.excessCapacityTerminationPolicy = excessCapacityTerminationPolicy;
+ if(excessCapacityTerminationPolicy != null){
+ putQueryParameter("ExcessCapacityTerminationPolicy", excessCapacityTerminationPolicy);
+ }
+ }
+
+ public List getLaunchTemplateConfigs() {
+ return this.launchTemplateConfigs;
+ }
+
+ public void setLaunchTemplateConfigs(List launchTemplateConfigs) {
+ this.launchTemplateConfigs = launchTemplateConfigs;
+ if (launchTemplateConfigs != null) {
+ for (int depth1 = 0; depth1 < launchTemplateConfigs.size(); depth1++) {
+ putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".VSwitchId" , launchTemplateConfigs.get(depth1).getVSwitchId());
+ putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".MaxPrice" , launchTemplateConfigs.get(depth1).getMaxPrice());
+ putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".Priority" , launchTemplateConfigs.get(depth1).getPriority());
+ putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".InstanceType" , launchTemplateConfigs.get(depth1).getInstanceType());
+ putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".WeightedCapacity" , launchTemplateConfigs.get(depth1).getWeightedCapacity());
+ putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".MaxQuantity" , launchTemplateConfigs.get(depth1).getMaxQuantity());
+ if (launchTemplateConfigs.get(depth1).getCoress() != null) {
+ for (int i = 0; i < launchTemplateConfigs.get(depth1).getCoress().size(); i++) {
+ putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".Cores." + (i + 1) , launchTemplateConfigs.get(depth1).getCoress().get(i));
+ }
+ }
+ if (launchTemplateConfigs.get(depth1).getMemoriess() != null) {
+ for (int i = 0; i < launchTemplateConfigs.get(depth1).getMemoriess().size(); i++) {
+ putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".Memories." + (i + 1) , launchTemplateConfigs.get(depth1).getMemoriess().get(i));
+ }
+ }
+ putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".InstanceFamilyLevel" , launchTemplateConfigs.get(depth1).getInstanceFamilyLevel());
+ if (launchTemplateConfigs.get(depth1).getExcludedInstanceTypess() != null) {
+ for (int i = 0; i < launchTemplateConfigs.get(depth1).getExcludedInstanceTypess().size(); i++) {
+ putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".ExcludedInstanceTypes." + (i + 1) , launchTemplateConfigs.get(depth1).getExcludedInstanceTypess().get(i));
+ }
+ }
+ if (launchTemplateConfigs.get(depth1).getArchitecturess() != null) {
+ for (int i = 0; i < launchTemplateConfigs.get(depth1).getArchitecturess().size(); i++) {
+ putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".Architectures." + (i + 1) , launchTemplateConfigs.get(depth1).getArchitecturess().get(i));
+ }
+ }
+ putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".BurstablePerformance" , launchTemplateConfigs.get(depth1).getBurstablePerformance());
+ }
+ }
+ }
+
+ public String getLaunchConfigurationRamRoleName() {
+ return this.launchConfigurationRamRoleName;
+ }
+
+ public void setLaunchConfigurationRamRoleName(String launchConfigurationRamRoleName) {
+ this.launchConfigurationRamRoleName = launchConfigurationRamRoleName;
+ if(launchConfigurationRamRoleName != null){
+ putQueryParameter("LaunchConfiguration.RamRoleName", launchConfigurationRamRoleName);
+ }
+ }
+
+ public Integer getLaunchConfigurationInternetMaxBandwidthIn() {
+ return this.launchConfigurationInternetMaxBandwidthIn;
+ }
+
+ public void setLaunchConfigurationInternetMaxBandwidthIn(Integer launchConfigurationInternetMaxBandwidthIn) {
+ this.launchConfigurationInternetMaxBandwidthIn = launchConfigurationInternetMaxBandwidthIn;
+ if(launchConfigurationInternetMaxBandwidthIn != null){
+ putQueryParameter("LaunchConfiguration.InternetMaxBandwidthIn", launchConfigurationInternetMaxBandwidthIn.toString());
+ }
+ }
+
+ public String getSpotInstanceInterruptionBehavior() {
+ return this.spotInstanceInterruptionBehavior;
+ }
+
+ public void setSpotInstanceInterruptionBehavior(String spotInstanceInterruptionBehavior) {
+ this.spotInstanceInterruptionBehavior = spotInstanceInterruptionBehavior;
+ if(spotInstanceInterruptionBehavior != null){
+ putQueryParameter("SpotInstanceInterruptionBehavior", spotInstanceInterruptionBehavior);
+ }
+ }
+
+ public String getLaunchConfigurationSecurityEnhancementStrategy() {
+ return this.launchConfigurationSecurityEnhancementStrategy;
+ }
+
+ public void setLaunchConfigurationSecurityEnhancementStrategy(String launchConfigurationSecurityEnhancementStrategy) {
+ this.launchConfigurationSecurityEnhancementStrategy = launchConfigurationSecurityEnhancementStrategy;
+ if(launchConfigurationSecurityEnhancementStrategy != null){
+ putQueryParameter("LaunchConfiguration.SecurityEnhancementStrategy", launchConfigurationSecurityEnhancementStrategy);
+ }
+ }
+
+ public List getLaunchConfigurationTags() {
+ return this.launchConfigurationTags;
+ }
+
+ public void setLaunchConfigurationTags(List launchConfigurationTags) {
+ this.launchConfigurationTags = launchConfigurationTags;
+ if (launchConfigurationTags != null) {
+ for (int depth1 = 0; depth1 < launchConfigurationTags.size(); depth1++) {
+ putQueryParameter("LaunchConfiguration.Tag." + (depth1 + 1) + ".Key" , launchConfigurationTags.get(depth1).getKey());
+ putQueryParameter("LaunchConfiguration.Tag." + (depth1 + 1) + ".Value" , launchConfigurationTags.get(depth1).getValue());
+ }
+ }
+ }
+
+ public String getLaunchConfigurationDeploymentSetId() {
+ return this.launchConfigurationDeploymentSetId;
+ }
+
+ public void setLaunchConfigurationDeploymentSetId(String launchConfigurationDeploymentSetId) {
+ this.launchConfigurationDeploymentSetId = launchConfigurationDeploymentSetId;
+ if(launchConfigurationDeploymentSetId != null){
+ putQueryParameter("LaunchConfiguration.DeploymentSetId", launchConfigurationDeploymentSetId);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Integer getSpotInstancePoolsToUseCount() {
+ return this.spotInstancePoolsToUseCount;
+ }
+
+ public void setSpotInstancePoolsToUseCount(Integer spotInstancePoolsToUseCount) {
+ this.spotInstancePoolsToUseCount = spotInstancePoolsToUseCount;
+ if(spotInstancePoolsToUseCount != null){
+ putQueryParameter("SpotInstancePoolsToUseCount", spotInstancePoolsToUseCount.toString());
+ }
+ }
+
+ public String getLaunchConfigurationInternetChargeType() {
+ return this.launchConfigurationInternetChargeType;
+ }
+
+ public void setLaunchConfigurationInternetChargeType(String launchConfigurationInternetChargeType) {
+ this.launchConfigurationInternetChargeType = launchConfigurationInternetChargeType;
+ if(launchConfigurationInternetChargeType != null){
+ putQueryParameter("LaunchConfiguration.InternetChargeType", launchConfigurationInternetChargeType);
+ }
+ }
+
+ public String getLaunchTemplateVersion() {
+ return this.launchTemplateVersion;
+ }
+
+ public void setLaunchTemplateVersion(String launchTemplateVersion) {
+ this.launchTemplateVersion = launchTemplateVersion;
+ if(launchTemplateVersion != null){
+ putQueryParameter("LaunchTemplateVersion", launchTemplateVersion);
+ }
+ }
+
+ public String getLaunchConfigurationIoOptimized() {
+ return this.launchConfigurationIoOptimized;
+ }
+
+ public void setLaunchConfigurationIoOptimized(String launchConfigurationIoOptimized) {
+ this.launchConfigurationIoOptimized = launchConfigurationIoOptimized;
+ if(launchConfigurationIoOptimized != null){
+ putQueryParameter("LaunchConfiguration.IoOptimized", launchConfigurationIoOptimized);
+ }
+ }
+
+ public String getPayAsYouGoTargetCapacity() {
+ return this.payAsYouGoTargetCapacity;
+ }
+
+ public void setPayAsYouGoTargetCapacity(String payAsYouGoTargetCapacity) {
+ this.payAsYouGoTargetCapacity = payAsYouGoTargetCapacity;
+ if(payAsYouGoTargetCapacity != null){
+ putQueryParameter("PayAsYouGoTargetCapacity", payAsYouGoTargetCapacity);
+ }
+ }
+
+ public Boolean getHibernationOptionsConfigured() {
+ return this.hibernationOptionsConfigured;
+ }
+
+ public void setHibernationOptionsConfigured(Boolean hibernationOptionsConfigured) {
+ this.hibernationOptionsConfigured = hibernationOptionsConfigured;
+ if(hibernationOptionsConfigured != null){
+ putQueryParameter("HibernationOptionsConfigured", hibernationOptionsConfigured.toString());
+ }
+ }
+
+ public String getTotalTargetCapacity() {
+ return this.totalTargetCapacity;
+ }
+
+ public void setTotalTargetCapacity(String totalTargetCapacity) {
+ this.totalTargetCapacity = totalTargetCapacity;
+ if(totalTargetCapacity != null){
+ putQueryParameter("TotalTargetCapacity", totalTargetCapacity);
+ }
+ }
+
+ public String getSpotTargetCapacity() {
+ return this.spotTargetCapacity;
+ }
+
+ public void setSpotTargetCapacity(String spotTargetCapacity) {
+ this.spotTargetCapacity = spotTargetCapacity;
+ if(spotTargetCapacity != null){
+ putQueryParameter("SpotTargetCapacity", spotTargetCapacity);
+ }
+ }
+
+ public String getValidFrom() {
+ return this.validFrom;
+ }
+
+ public void setValidFrom(String validFrom) {
+ this.validFrom = validFrom;
+ if(validFrom != null){
+ putQueryParameter("ValidFrom", validFrom);
+ }
+ }
+
+ public String getAutoProvisioningGroupName() {
+ return this.autoProvisioningGroupName;
+ }
+
+ public void setAutoProvisioningGroupName(String autoProvisioningGroupName) {
+ this.autoProvisioningGroupName = autoProvisioningGroupName;
+ if(autoProvisioningGroupName != null){
+ putQueryParameter("AutoProvisioningGroupName", autoProvisioningGroupName);
+ }
+ }
+
+ public static class LaunchConfigurationDataDisk {
+
+ private String performanceLevel;
+
+ private String kmsKeyId;
+
+ private String description;
+
+ private String snapshotId;
+
+ private Integer size;
+
+ private String device;
+
+ private String diskName;
+
+ private String category;
+
+ private Boolean deleteWithInstance;
+
+ private Boolean encrypted;
+
+ public String getPerformanceLevel() {
+ return this.performanceLevel;
+ }
+
+ public void setPerformanceLevel(String performanceLevel) {
+ this.performanceLevel = performanceLevel;
+ }
+
+ public String getKmsKeyId() {
+ return this.kmsKeyId;
+ }
+
+ public void setKmsKeyId(String kmsKeyId) {
+ this.kmsKeyId = kmsKeyId;
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getSnapshotId() {
+ return this.snapshotId;
+ }
+
+ public void setSnapshotId(String snapshotId) {
+ this.snapshotId = snapshotId;
+ }
+
+ public Integer getSize() {
+ return this.size;
+ }
+
+ public void setSize(Integer size) {
+ this.size = size;
+ }
+
+ public String getDevice() {
+ return this.device;
+ }
+
+ public void setDevice(String device) {
+ this.device = device;
+ }
+
+ public String getDiskName() {
+ return this.diskName;
+ }
+
+ public void setDiskName(String diskName) {
+ this.diskName = diskName;
+ }
+
+ public String getCategory() {
+ return this.category;
+ }
+
+ public void setCategory(String category) {
+ this.category = category;
+ }
+
+ public Boolean getDeleteWithInstance() {
+ return this.deleteWithInstance;
+ }
+
+ public void setDeleteWithInstance(Boolean deleteWithInstance) {
+ this.deleteWithInstance = deleteWithInstance;
+ }
+
+ public Boolean getEncrypted() {
+ return this.encrypted;
+ }
+
+ public void setEncrypted(Boolean encrypted) {
+ this.encrypted = encrypted;
+ }
+ }
+
+ public static class SystemDiskConfig {
+
+ private String diskCategory;
+
+ public String getDiskCategory() {
+ return this.diskCategory;
+ }
+
+ public void setDiskCategory(String diskCategory) {
+ this.diskCategory = diskCategory;
+ }
+ }
+
+ public static class DataDiskConfig {
+
+ private String diskCategory;
+
+ public String getDiskCategory() {
+ return this.diskCategory;
+ }
+
+ public void setDiskCategory(String diskCategory) {
+ this.diskCategory = diskCategory;
+ }
+ }
+
+ public static class LaunchConfigurationArn {
+
+ private String rolearn;
+
+ private String roleType;
+
+ private Long assumeRoleFor;
+
+ public String getRolearn() {
+ return this.rolearn;
+ }
+
+ public void setRolearn(String rolearn) {
+ this.rolearn = rolearn;
+ }
+
+ public String getRoleType() {
+ return this.roleType;
+ }
+
+ public void setRoleType(String roleType) {
+ this.roleType = roleType;
+ }
+
+ public Long getAssumeRoleFor() {
+ return this.assumeRoleFor;
+ }
+
+ public void setAssumeRoleFor(Long assumeRoleFor) {
+ this.assumeRoleFor = assumeRoleFor;
+ }
+ }
+
+ public static class LaunchConfigurationSystemDisk {
+
+ private String encrypted;
+
+ private String kMSKeyId;
+
+ private String encryptAlgorithm;
+
+ public String getEncrypted() {
+ return this.encrypted;
+ }
+
+ public void setEncrypted(String encrypted) {
+ this.encrypted = encrypted;
+ }
+
+ public String getKMSKeyId() {
+ return this.kMSKeyId;
+ }
+
+ public void setKMSKeyId(String kMSKeyId) {
+ this.kMSKeyId = kMSKeyId;
+ }
+
+ public String getEncryptAlgorithm() {
+ return this.encryptAlgorithm;
+ }
+
+ public void setEncryptAlgorithm(String encryptAlgorithm) {
+ this.encryptAlgorithm = encryptAlgorithm;
+ }
+ }
+
+ public static class LaunchTemplateConfig {
+
+ private String vSwitchId;
+
+ private Double maxPrice;
+
+ private Integer priority;
+
+ private String instanceType;
+
+ private Double weightedCapacity;
+
+ private Integer maxQuantity;
+
+ private List coress;
+
+ private List memoriess;
+
+ private String instanceFamilyLevel;
+
+ private List excludedInstanceTypess;
+
+ private List architecturess;
+
+ private String burstablePerformance;
+
+ public String getVSwitchId() {
+ return this.vSwitchId;
+ }
+
+ public void setVSwitchId(String vSwitchId) {
+ this.vSwitchId = vSwitchId;
+ }
+
+ public Double getMaxPrice() {
+ return this.maxPrice;
+ }
+
+ public void setMaxPrice(Double maxPrice) {
+ this.maxPrice = maxPrice;
+ }
+
+ public Integer getPriority() {
+ return this.priority;
+ }
+
+ public void setPriority(Integer priority) {
+ this.priority = priority;
+ }
+
+ public String getInstanceType() {
+ return this.instanceType;
+ }
+
+ public void setInstanceType(String instanceType) {
+ this.instanceType = instanceType;
+ }
+
+ public Double getWeightedCapacity() {
+ return this.weightedCapacity;
+ }
+
+ public void setWeightedCapacity(Double weightedCapacity) {
+ this.weightedCapacity = weightedCapacity;
+ }
+
+ public Integer getMaxQuantity() {
+ return this.maxQuantity;
+ }
+
+ public void setMaxQuantity(Integer maxQuantity) {
+ this.maxQuantity = maxQuantity;
+ }
+
+ public List getCoress() {
+ return this.coress;
+ }
+
+ public void setCoress(List coress) {
+ this.coress = coress;
+ }
+
+ public List getMemoriess() {
+ return this.memoriess;
+ }
+
+ public void setMemoriess(List memoriess) {
+ this.memoriess = memoriess;
+ }
+
+ public String getInstanceFamilyLevel() {
+ return this.instanceFamilyLevel;
+ }
+
+ public void setInstanceFamilyLevel(String instanceFamilyLevel) {
+ this.instanceFamilyLevel = instanceFamilyLevel;
+ }
+
+ public List getExcludedInstanceTypess() {
+ return this.excludedInstanceTypess;
+ }
+
+ public void setExcludedInstanceTypess(List excludedInstanceTypess) {
+ this.excludedInstanceTypess = excludedInstanceTypess;
+ }
+
+ public List getArchitecturess() {
+ return this.architecturess;
+ }
+
+ public void setArchitecturess(List architecturess) {
+ this.architecturess = architecturess;
+ }
+
+ public String getBurstablePerformance() {
+ return this.burstablePerformance;
+ }
+
+ public void setBurstablePerformance(String burstablePerformance) {
+ this.burstablePerformance = burstablePerformance;
+ }
+ }
+
+ public static class LaunchConfigurationTag {
+
+ private String key;
+
+ private String value;
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateAutoProvisioningGroupResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateAutoProvisioningGroupResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateAutoProvisioningGroupResponse.java
new file mode 100644
index 0000000000..6ddde9691e
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateAutoProvisioningGroupResponse.java
@@ -0,0 +1,125 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateAutoProvisioningGroupResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateAutoProvisioningGroupResponse extends AcsResponse {
+
+ private String autoProvisioningGroupId;
+
+ private String requestId;
+
+ private List launchResults;
+
+ public String getAutoProvisioningGroupId() {
+ return this.autoProvisioningGroupId;
+ }
+
+ public void setAutoProvisioningGroupId(String autoProvisioningGroupId) {
+ this.autoProvisioningGroupId = autoProvisioningGroupId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public List getLaunchResults() {
+ return this.launchResults;
+ }
+
+ public void setLaunchResults(List launchResults) {
+ this.launchResults = launchResults;
+ }
+
+ public static class LaunchResult {
+
+ private String zoneId;
+
+ private String errorMsg;
+
+ private String instanceType;
+
+ private String errorCode;
+
+ private String spotStrategy;
+
+ private List instanceIds;
+
+ public String getZoneId() {
+ return this.zoneId;
+ }
+
+ public void setZoneId(String zoneId) {
+ this.zoneId = zoneId;
+ }
+
+ public String getErrorMsg() {
+ return this.errorMsg;
+ }
+
+ public void setErrorMsg(String errorMsg) {
+ this.errorMsg = errorMsg;
+ }
+
+ public String getInstanceType() {
+ return this.instanceType;
+ }
+
+ public void setInstanceType(String instanceType) {
+ this.instanceType = instanceType;
+ }
+
+ public String getErrorCode() {
+ return this.errorCode;
+ }
+
+ public void setErrorCode(String errorCode) {
+ this.errorCode = errorCode;
+ }
+
+ public String getSpotStrategy() {
+ return this.spotStrategy;
+ }
+
+ public void setSpotStrategy(String spotStrategy) {
+ this.spotStrategy = spotStrategy;
+ }
+
+ public List getInstanceIds() {
+ return this.instanceIds;
+ }
+
+ public void setInstanceIds(List instanceIds) {
+ this.instanceIds = instanceIds;
+ }
+ }
+
+ @Override
+ public CreateAutoProvisioningGroupResponse getInstance(UnmarshallerContext context) {
+ return CreateAutoProvisioningGroupResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateAutoSnapshotPolicyRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateAutoSnapshotPolicyRequest.java
new file mode 100644
index 0000000000..1e5a8e9aae
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateAutoSnapshotPolicyRequest.java
@@ -0,0 +1,237 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateAutoSnapshotPolicyRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private Integer copiedSnapshotsRetentionDays;
+
+ private String timePoints;
+
+ private String repeatWeekdays;
+
+ private String resourceGroupId;
+
+ private String storageLocationArn;
+
+ private List tags;
+
+ private Boolean enableCrossRegionCopy;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+
+ private String autoSnapshotPolicyName;
+
+ private Integer retentionDays;
+
+ private String targetCopyRegions;
+ public CreateAutoSnapshotPolicyRequest() {
+ super("Ecs", "2014-05-26", "CreateAutoSnapshotPolicy", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public Integer getCopiedSnapshotsRetentionDays() {
+ return this.copiedSnapshotsRetentionDays;
+ }
+
+ public void setCopiedSnapshotsRetentionDays(Integer copiedSnapshotsRetentionDays) {
+ this.copiedSnapshotsRetentionDays = copiedSnapshotsRetentionDays;
+ if(copiedSnapshotsRetentionDays != null){
+ putQueryParameter("CopiedSnapshotsRetentionDays", copiedSnapshotsRetentionDays.toString());
+ }
+ }
+
+ public String getTimePoints() {
+ return this.timePoints;
+ }
+
+ public void setTimePoints(String timePoints) {
+ this.timePoints = timePoints;
+ if(timePoints != null){
+ putQueryParameter("timePoints", timePoints);
+ }
+ }
+
+ public String getRepeatWeekdays() {
+ return this.repeatWeekdays;
+ }
+
+ public void setRepeatWeekdays(String repeatWeekdays) {
+ this.repeatWeekdays = repeatWeekdays;
+ if(repeatWeekdays != null){
+ putQueryParameter("repeatWeekdays", repeatWeekdays);
+ }
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ if(resourceGroupId != null){
+ putQueryParameter("ResourceGroupId", resourceGroupId);
+ }
+ }
+
+ public String getStorageLocationArn() {
+ return this.storageLocationArn;
+ }
+
+ public void setStorageLocationArn(String storageLocationArn) {
+ this.storageLocationArn = storageLocationArn;
+ if(storageLocationArn != null){
+ putQueryParameter("StorageLocationArn", storageLocationArn);
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ }
+ }
+ }
+
+ public Boolean getEnableCrossRegionCopy() {
+ return this.enableCrossRegionCopy;
+ }
+
+ public void setEnableCrossRegionCopy(Boolean enableCrossRegionCopy) {
+ this.enableCrossRegionCopy = enableCrossRegionCopy;
+ if(enableCrossRegionCopy != null){
+ putQueryParameter("EnableCrossRegionCopy", enableCrossRegionCopy.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getAutoSnapshotPolicyName() {
+ return this.autoSnapshotPolicyName;
+ }
+
+ public void setAutoSnapshotPolicyName(String autoSnapshotPolicyName) {
+ this.autoSnapshotPolicyName = autoSnapshotPolicyName;
+ if(autoSnapshotPolicyName != null){
+ putQueryParameter("autoSnapshotPolicyName", autoSnapshotPolicyName);
+ }
+ }
+
+ public Integer getRetentionDays() {
+ return this.retentionDays;
+ }
+
+ public void setRetentionDays(Integer retentionDays) {
+ this.retentionDays = retentionDays;
+ if(retentionDays != null){
+ putQueryParameter("retentionDays", retentionDays.toString());
+ }
+ }
+
+ public String getTargetCopyRegions() {
+ return this.targetCopyRegions;
+ }
+
+ public void setTargetCopyRegions(String targetCopyRegions) {
+ this.targetCopyRegions = targetCopyRegions;
+ if(targetCopyRegions != null){
+ putQueryParameter("TargetCopyRegions", targetCopyRegions);
+ }
+ }
+
+ public static class Tag {
+
+ private String value;
+
+ private String key;
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateAutoSnapshotPolicyResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateAutoSnapshotPolicyResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateAutoSnapshotPolicyResponse.java
new file mode 100644
index 0000000000..ad087121c4
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateAutoSnapshotPolicyResponse.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateAutoSnapshotPolicyResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateAutoSnapshotPolicyResponse extends AcsResponse {
+
+ private String autoSnapshotPolicyId;
+
+ private String requestId;
+
+ public String getAutoSnapshotPolicyId() {
+ return this.autoSnapshotPolicyId;
+ }
+
+ public void setAutoSnapshotPolicyId(String autoSnapshotPolicyId) {
+ this.autoSnapshotPolicyId = autoSnapshotPolicyId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CreateAutoSnapshotPolicyResponse getInstance(UnmarshallerContext context) {
+ return CreateAutoSnapshotPolicyResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateCapacityReservationRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateCapacityReservationRequest.java
new file mode 100644
index 0000000000..2c37a25add
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateCapacityReservationRequest.java
@@ -0,0 +1,291 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateCapacityReservationRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String clientToken;
+
+ private String description;
+
+ private String startTime;
+
+ private String platform;
+
+ private String resourceGroupId;
+
+ private String privatePoolOptionsMatchCriteria;
+
+ private String instanceType;
+
+ private List tags;
+
+ private String endTimeType;
+
+ private String resourceOwnerAccount;
+
+ private String privatePoolOptionsName;
+
+ private String ownerAccount;
+
+ private String endTime;
+
+ private Long ownerId;
+
+ private List zoneIds;
+
+ private Integer instanceAmount;
+ public CreateCapacityReservationRequest() {
+ super("Ecs", "2014-05-26", "CreateCapacityReservation", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public String getStartTime() {
+ return this.startTime;
+ }
+
+ public void setStartTime(String startTime) {
+ this.startTime = startTime;
+ if(startTime != null){
+ putQueryParameter("StartTime", startTime);
+ }
+ }
+
+ public String getPlatform() {
+ return this.platform;
+ }
+
+ public void setPlatform(String platform) {
+ this.platform = platform;
+ if(platform != null){
+ putQueryParameter("Platform", platform);
+ }
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ if(resourceGroupId != null){
+ putQueryParameter("ResourceGroupId", resourceGroupId);
+ }
+ }
+
+ public String getPrivatePoolOptionsMatchCriteria() {
+ return this.privatePoolOptionsMatchCriteria;
+ }
+
+ public void setPrivatePoolOptionsMatchCriteria(String privatePoolOptionsMatchCriteria) {
+ this.privatePoolOptionsMatchCriteria = privatePoolOptionsMatchCriteria;
+ if(privatePoolOptionsMatchCriteria != null){
+ putQueryParameter("PrivatePoolOptions.MatchCriteria", privatePoolOptionsMatchCriteria);
+ }
+ }
+
+ public String getInstanceType() {
+ return this.instanceType;
+ }
+
+ public void setInstanceType(String instanceType) {
+ this.instanceType = instanceType;
+ if(instanceType != null){
+ putQueryParameter("InstanceType", instanceType);
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ }
+ }
+ }
+
+ public String getEndTimeType() {
+ return this.endTimeType;
+ }
+
+ public void setEndTimeType(String endTimeType) {
+ this.endTimeType = endTimeType;
+ if(endTimeType != null){
+ putQueryParameter("EndTimeType", endTimeType);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getPrivatePoolOptionsName() {
+ return this.privatePoolOptionsName;
+ }
+
+ public void setPrivatePoolOptionsName(String privatePoolOptionsName) {
+ this.privatePoolOptionsName = privatePoolOptionsName;
+ if(privatePoolOptionsName != null){
+ putQueryParameter("PrivatePoolOptions.Name", privatePoolOptionsName);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public String getEndTime() {
+ return this.endTime;
+ }
+
+ public void setEndTime(String endTime) {
+ this.endTime = endTime;
+ if(endTime != null){
+ putQueryParameter("EndTime", endTime);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public List getZoneIds() {
+ return this.zoneIds;
+ }
+
+ public void setZoneIds(List zoneIds) {
+ this.zoneIds = zoneIds;
+ if (zoneIds != null) {
+ for (int i = 0; i < zoneIds.size(); i++) {
+ putQueryParameter("ZoneId." + (i + 1) , zoneIds.get(i));
+ }
+ }
+ }
+
+ public Integer getInstanceAmount() {
+ return this.instanceAmount;
+ }
+
+ public void setInstanceAmount(Integer instanceAmount) {
+ this.instanceAmount = instanceAmount;
+ if(instanceAmount != null){
+ putQueryParameter("InstanceAmount", instanceAmount.toString());
+ }
+ }
+
+ public static class Tag {
+
+ private String key;
+
+ private String value;
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateCapacityReservationResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20160314/CreateCapacityReservationResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateCapacityReservationResponse.java
similarity index 75%
rename from aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20160314/CreateCapacityReservationResponse.java
rename to aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateCapacityReservationResponse.java
index cbe694d4ee..4a1e0e4253 100644
--- a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20160314/CreateCapacityReservationResponse.java
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateCapacityReservationResponse.java
@@ -12,10 +12,10 @@
* limitations under the License.
*/
-package com.aliyuncs.ecs.model.v20160314;
+package com.aliyuncs.ecs.model.v20140526;
import com.aliyuncs.AcsResponse;
-import com.aliyuncs.ecs.transform.v20160314.CreateCapacityReservationResponseUnmarshaller;
+import com.aliyuncs.ecs.transform.v20140526.CreateCapacityReservationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
@@ -24,16 +24,16 @@
*/
public class CreateCapacityReservationResponse extends AcsResponse {
- private String capacityReservationId;
+ private String privatePoolOptionsId;
private String requestId;
- public String getCapacityReservationId() {
- return this.capacityReservationId;
+ public String getPrivatePoolOptionsId() {
+ return this.privatePoolOptionsId;
}
- public void setCapacityReservationId(String capacityReservationId) {
- this.capacityReservationId = capacityReservationId;
+ public void setPrivatePoolOptionsId(String privatePoolOptionsId) {
+ this.privatePoolOptionsId = privatePoolOptionsId;
}
public String getRequestId() {
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateCommandRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateCommandRequest.java
new file mode 100644
index 0000000000..d8956b53cd
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateCommandRequest.java
@@ -0,0 +1,237 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateCommandRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String workingDir;
+
+ private String description;
+
+ private String type;
+
+ private String commandContent;
+
+ private Long timeout;
+
+ private String contentEncoding;
+
+ private List tags;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String name;
+
+ private Boolean enableParameter;
+ public CreateCommandRequest() {
+ super("Ecs", "2014-05-26", "CreateCommand", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getWorkingDir() {
+ return this.workingDir;
+ }
+
+ public void setWorkingDir(String workingDir) {
+ this.workingDir = workingDir;
+ if(workingDir != null){
+ putQueryParameter("WorkingDir", workingDir);
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public String getType() {
+ return this.type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ if(type != null){
+ putQueryParameter("Type", type);
+ }
+ }
+
+ public String getCommandContent() {
+ return this.commandContent;
+ }
+
+ public void setCommandContent(String commandContent) {
+ this.commandContent = commandContent;
+ if(commandContent != null){
+ putQueryParameter("CommandContent", commandContent);
+ }
+ }
+
+ public Long getTimeout() {
+ return this.timeout;
+ }
+
+ public void setTimeout(Long timeout) {
+ this.timeout = timeout;
+ if(timeout != null){
+ putQueryParameter("Timeout", timeout.toString());
+ }
+ }
+
+ public String getContentEncoding() {
+ return this.contentEncoding;
+ }
+
+ public void setContentEncoding(String contentEncoding) {
+ this.contentEncoding = contentEncoding;
+ if(contentEncoding != null){
+ putQueryParameter("ContentEncoding", contentEncoding);
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ }
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getName() {
+ return this.name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ if(name != null){
+ putQueryParameter("Name", name);
+ }
+ }
+
+ public Boolean getEnableParameter() {
+ return this.enableParameter;
+ }
+
+ public void setEnableParameter(Boolean enableParameter) {
+ this.enableParameter = enableParameter;
+ if(enableParameter != null){
+ putQueryParameter("EnableParameter", enableParameter.toString());
+ }
+ }
+
+ public static class Tag {
+
+ private String key;
+
+ private String value;
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateCommandResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateCommandResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateCommandResponse.java
new file mode 100644
index 0000000000..50cf15e16e
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateCommandResponse.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateCommandResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateCommandResponse extends AcsResponse {
+
+ private String commandId;
+
+ private String requestId;
+
+ public String getCommandId() {
+ return this.commandId;
+ }
+
+ public void setCommandId(String commandId) {
+ this.commandId = commandId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CreateCommandResponse getInstance(UnmarshallerContext context) {
+ return CreateCommandResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20160314/CreateDedicatedHostClusterRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDedicatedHostClusterRequest.java
similarity index 85%
rename from aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20160314/CreateDedicatedHostClusterRequest.java
rename to aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDedicatedHostClusterRequest.java
index b437060c0d..52c45ea600 100644
--- a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20160314/CreateDedicatedHostClusterRequest.java
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDedicatedHostClusterRequest.java
@@ -12,7 +12,7 @@
* limitations under the License.
*/
-package com.aliyuncs.ecs.model.v20160314;
+package com.aliyuncs.ecs.model.v20140526;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
@@ -44,11 +44,9 @@ public class CreateDedicatedHostClusterRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String clientToken;
+
+ private String startTime;
+
+ private String demandDescription;
+
+ private String instanceType;
+
+ private String instanceChargeType;
+
+ private String demandName;
+
+ private Integer amount;
+
+ private Integer period;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private String endTime;
+
+ private Long ownerId;
+
+ private String periodUnit;
+
+ private String zoneId;
+ public CreateDemandRequest() {
+ super("Ecs", "2014-05-26", "CreateDemand", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getStartTime() {
+ return this.startTime;
+ }
+
+ public void setStartTime(String startTime) {
+ this.startTime = startTime;
+ if(startTime != null){
+ putQueryParameter("StartTime", startTime);
+ }
+ }
+
+ public String getDemandDescription() {
+ return this.demandDescription;
+ }
+
+ public void setDemandDescription(String demandDescription) {
+ this.demandDescription = demandDescription;
+ if(demandDescription != null){
+ putQueryParameter("DemandDescription", demandDescription);
+ }
+ }
+
+ public String getInstanceType() {
+ return this.instanceType;
+ }
+
+ public void setInstanceType(String instanceType) {
+ this.instanceType = instanceType;
+ if(instanceType != null){
+ putQueryParameter("InstanceType", instanceType);
+ }
+ }
+
+ public String getInstanceChargeType() {
+ return this.instanceChargeType;
+ }
+
+ public void setInstanceChargeType(String instanceChargeType) {
+ this.instanceChargeType = instanceChargeType;
+ if(instanceChargeType != null){
+ putQueryParameter("InstanceChargeType", instanceChargeType);
+ }
+ }
+
+ public String getDemandName() {
+ return this.demandName;
+ }
+
+ public void setDemandName(String demandName) {
+ this.demandName = demandName;
+ if(demandName != null){
+ putQueryParameter("DemandName", demandName);
+ }
+ }
+
+ public Integer getAmount() {
+ return this.amount;
+ }
+
+ public void setAmount(Integer amount) {
+ this.amount = amount;
+ if(amount != null){
+ putQueryParameter("Amount", amount.toString());
+ }
+ }
+
+ public Integer getPeriod() {
+ return this.period;
+ }
+
+ public void setPeriod(Integer period) {
+ this.period = period;
+ if(period != null){
+ putQueryParameter("Period", period.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public String getEndTime() {
+ return this.endTime;
+ }
+
+ public void setEndTime(String endTime) {
+ this.endTime = endTime;
+ if(endTime != null){
+ putQueryParameter("EndTime", endTime);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getPeriodUnit() {
+ return this.periodUnit;
+ }
+
+ public void setPeriodUnit(String periodUnit) {
+ this.periodUnit = periodUnit;
+ if(periodUnit != null){
+ putQueryParameter("PeriodUnit", periodUnit);
+ }
+ }
+
+ public String getZoneId() {
+ return this.zoneId;
+ }
+
+ public void setZoneId(String zoneId) {
+ this.zoneId = zoneId;
+ if(zoneId != null){
+ putQueryParameter("ZoneId", zoneId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateDemandResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDemandResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDemandResponse.java
new file mode 100644
index 0000000000..e87a29b3d7
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDemandResponse.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateDemandResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateDemandResponse extends AcsResponse {
+
+ private String demandId;
+
+ private String requestId;
+
+ public String getDemandId() {
+ return this.demandId;
+ }
+
+ public void setDemandId(String demandId) {
+ this.demandId = demandId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CreateDemandResponse getInstance(UnmarshallerContext context) {
+ return CreateDemandResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDeploymentSetRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDeploymentSetRequest.java
new file mode 100644
index 0000000000..f459c98e57
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDeploymentSetRequest.java
@@ -0,0 +1,197 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateDeploymentSetRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String clientToken;
+
+ private String description;
+
+ private Long groupCount;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private String deploymentSetName;
+
+ private Long ownerId;
+
+ private String onUnableToRedeployFailedInstance;
+
+ private String granularity;
+
+ private String domain;
+
+ private String strategy;
+ public CreateDeploymentSetRequest() {
+ super("Ecs", "2014-05-26", "CreateDeploymentSet", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public Long getGroupCount() {
+ return this.groupCount;
+ }
+
+ public void setGroupCount(Long groupCount) {
+ this.groupCount = groupCount;
+ if(groupCount != null){
+ putQueryParameter("GroupCount", groupCount.toString());
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public String getDeploymentSetName() {
+ return this.deploymentSetName;
+ }
+
+ public void setDeploymentSetName(String deploymentSetName) {
+ this.deploymentSetName = deploymentSetName;
+ if(deploymentSetName != null){
+ putQueryParameter("DeploymentSetName", deploymentSetName);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getOnUnableToRedeployFailedInstance() {
+ return this.onUnableToRedeployFailedInstance;
+ }
+
+ public void setOnUnableToRedeployFailedInstance(String onUnableToRedeployFailedInstance) {
+ this.onUnableToRedeployFailedInstance = onUnableToRedeployFailedInstance;
+ if(onUnableToRedeployFailedInstance != null){
+ putQueryParameter("OnUnableToRedeployFailedInstance", onUnableToRedeployFailedInstance);
+ }
+ }
+
+ public String getGranularity() {
+ return this.granularity;
+ }
+
+ public void setGranularity(String granularity) {
+ this.granularity = granularity;
+ if(granularity != null){
+ putQueryParameter("Granularity", granularity);
+ }
+ }
+
+ public String getDomain() {
+ return this.domain;
+ }
+
+ public void setDomain(String domain) {
+ this.domain = domain;
+ if(domain != null){
+ putQueryParameter("Domain", domain);
+ }
+ }
+
+ public String getStrategy() {
+ return this.strategy;
+ }
+
+ public void setStrategy(String strategy) {
+ this.strategy = strategy;
+ if(strategy != null){
+ putQueryParameter("Strategy", strategy);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateDeploymentSetResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDeploymentSetResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDeploymentSetResponse.java
new file mode 100644
index 0000000000..4258ceffd1
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDeploymentSetResponse.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateDeploymentSetResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateDeploymentSetResponse extends AcsResponse {
+
+ private String deploymentSetId;
+
+ private String requestId;
+
+ public String getDeploymentSetId() {
+ return this.deploymentSetId;
+ }
+
+ public void setDeploymentSetId(String deploymentSetId) {
+ this.deploymentSetId = deploymentSetId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CreateDeploymentSetResponse getInstance(UnmarshallerContext context) {
+ return CreateDeploymentSetResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiagnosticMetricSetRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiagnosticMetricSetRequest.java
new file mode 100644
index 0000000000..5e996a69c4
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiagnosticMetricSetRequest.java
@@ -0,0 +1,96 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateDiagnosticMetricSetRequest extends RpcAcsRequest {
+
+
+ private List metricIdss;
+
+ private String description;
+
+ private String metricSetName;
+
+ private String resourceType;
+ public CreateDiagnosticMetricSetRequest() {
+ super("Ecs", "2014-05-26", "CreateDiagnosticMetricSet", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public List getMetricIdss() {
+ return this.metricIdss;
+ }
+
+ public void setMetricIdss(List metricIdss) {
+ this.metricIdss = metricIdss;
+ if (metricIdss != null) {
+ for (int i = 0; i < metricIdss.size(); i++) {
+ putQueryParameter("MetricIds." + (i + 1) , metricIdss.get(i));
+ }
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public String getMetricSetName() {
+ return this.metricSetName;
+ }
+
+ public void setMetricSetName(String metricSetName) {
+ this.metricSetName = metricSetName;
+ if(metricSetName != null){
+ putQueryParameter("MetricSetName", metricSetName);
+ }
+ }
+
+ public String getResourceType() {
+ return this.resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ if(resourceType != null){
+ putQueryParameter("ResourceType", resourceType);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateDiagnosticMetricSetResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiagnosticMetricSetResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiagnosticMetricSetResponse.java
new file mode 100644
index 0000000000..b7c88890c0
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiagnosticMetricSetResponse.java
@@ -0,0 +1,56 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateDiagnosticMetricSetResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateDiagnosticMetricSetResponse extends AcsResponse {
+
+ private String requestId;
+
+ private String metricSetId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public String getMetricSetId() {
+ return this.metricSetId;
+ }
+
+ public void setMetricSetId(String metricSetId) {
+ this.metricSetId = metricSetId;
+ }
+
+ @Override
+ public CreateDiagnosticMetricSetResponse getInstance(UnmarshallerContext context) {
+ return CreateDiagnosticMetricSetResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiagnosticReportRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiagnosticReportRequest.java
new file mode 100644
index 0000000000..5e2c2e548f
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiagnosticReportRequest.java
@@ -0,0 +1,93 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateDiagnosticReportRequest extends RpcAcsRequest {
+
+
+ private String resourceId;
+
+ private String metricSetId;
+
+ private String endTime;
+
+ private String startTime;
+ public CreateDiagnosticReportRequest() {
+ super("Ecs", "2014-05-26", "CreateDiagnosticReport", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getResourceId() {
+ return this.resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ if(resourceId != null){
+ putQueryParameter("ResourceId", resourceId);
+ }
+ }
+
+ public String getMetricSetId() {
+ return this.metricSetId;
+ }
+
+ public void setMetricSetId(String metricSetId) {
+ this.metricSetId = metricSetId;
+ if(metricSetId != null){
+ putQueryParameter("MetricSetId", metricSetId);
+ }
+ }
+
+ public String getEndTime() {
+ return this.endTime;
+ }
+
+ public void setEndTime(String endTime) {
+ this.endTime = endTime;
+ if(endTime != null){
+ putQueryParameter("EndTime", endTime);
+ }
+ }
+
+ public String getStartTime() {
+ return this.startTime;
+ }
+
+ public void setStartTime(String startTime) {
+ this.startTime = startTime;
+ if(startTime != null){
+ putQueryParameter("StartTime", startTime);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateDiagnosticReportResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiagnosticReportResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiagnosticReportResponse.java
new file mode 100644
index 0000000000..478fd76e86
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiagnosticReportResponse.java
@@ -0,0 +1,56 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateDiagnosticReportResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateDiagnosticReportResponse extends AcsResponse {
+
+ private String requestId;
+
+ private String reportId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public String getReportId() {
+ return this.reportId;
+ }
+
+ public void setReportId(String reportId) {
+ this.reportId = reportId;
+ }
+
+ @Override
+ public CreateDiagnosticReportResponse getInstance(UnmarshallerContext context) {
+ return CreateDiagnosticReportResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiskRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiskRequest.java
new file mode 100644
index 0000000000..40a99ceed2
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiskRequest.java
@@ -0,0 +1,443 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateDiskRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String encryptAlgorithm;
+
+ private String diskName;
+
+ private String resourceGroupId;
+
+ private Integer storageSetPartitionNumber;
+
+ private List tags;
+
+ private Long ownerId;
+
+ private Long provisionedIops;
+
+ private String instanceId;
+
+ private Integer size;
+
+ private String zoneId;
+
+ private String storageClusterId;
+
+ private String snapshotId;
+
+ private String clientToken;
+
+ private String description;
+
+ private String diskCategory;
+
+ private String multiAttach;
+
+ private String advancedFeatures;
+
+ private List arns;
+
+ private String resourceOwnerAccount;
+
+ private String performanceLevel;
+
+ private String ownerAccount;
+
+ private Boolean burstingEnabled;
+
+ private String storageSetId;
+
+ private Boolean encrypted;
+
+ private String kMSKeyId;
+ public CreateDiskRequest() {
+ super("Ecs", "2014-05-26", "CreateDisk", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getEncryptAlgorithm() {
+ return this.encryptAlgorithm;
+ }
+
+ public void setEncryptAlgorithm(String encryptAlgorithm) {
+ this.encryptAlgorithm = encryptAlgorithm;
+ if(encryptAlgorithm != null){
+ putQueryParameter("EncryptAlgorithm", encryptAlgorithm);
+ }
+ }
+
+ public String getDiskName() {
+ return this.diskName;
+ }
+
+ public void setDiskName(String diskName) {
+ this.diskName = diskName;
+ if(diskName != null){
+ putQueryParameter("DiskName", diskName);
+ }
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ if(resourceGroupId != null){
+ putQueryParameter("ResourceGroupId", resourceGroupId);
+ }
+ }
+
+ public Integer getStorageSetPartitionNumber() {
+ return this.storageSetPartitionNumber;
+ }
+
+ public void setStorageSetPartitionNumber(Integer storageSetPartitionNumber) {
+ this.storageSetPartitionNumber = storageSetPartitionNumber;
+ if(storageSetPartitionNumber != null){
+ putQueryParameter("StorageSetPartitionNumber", storageSetPartitionNumber.toString());
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ }
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public Long getProvisionedIops() {
+ return this.provisionedIops;
+ }
+
+ public void setProvisionedIops(Long provisionedIops) {
+ this.provisionedIops = provisionedIops;
+ if(provisionedIops != null){
+ putQueryParameter("ProvisionedIops", provisionedIops.toString());
+ }
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ if(instanceId != null){
+ putQueryParameter("InstanceId", instanceId);
+ }
+ }
+
+ public Integer getSize() {
+ return this.size;
+ }
+
+ public void setSize(Integer size) {
+ this.size = size;
+ if(size != null){
+ putQueryParameter("Size", size.toString());
+ }
+ }
+
+ public String getZoneId() {
+ return this.zoneId;
+ }
+
+ public void setZoneId(String zoneId) {
+ this.zoneId = zoneId;
+ if(zoneId != null){
+ putQueryParameter("ZoneId", zoneId);
+ }
+ }
+
+ public String getStorageClusterId() {
+ return this.storageClusterId;
+ }
+
+ public void setStorageClusterId(String storageClusterId) {
+ this.storageClusterId = storageClusterId;
+ if(storageClusterId != null){
+ putQueryParameter("StorageClusterId", storageClusterId);
+ }
+ }
+
+ public String getSnapshotId() {
+ return this.snapshotId;
+ }
+
+ public void setSnapshotId(String snapshotId) {
+ this.snapshotId = snapshotId;
+ if(snapshotId != null){
+ putQueryParameter("SnapshotId", snapshotId);
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public String getDiskCategory() {
+ return this.diskCategory;
+ }
+
+ public void setDiskCategory(String diskCategory) {
+ this.diskCategory = diskCategory;
+ if(diskCategory != null){
+ putQueryParameter("DiskCategory", diskCategory);
+ }
+ }
+
+ public String getMultiAttach() {
+ return this.multiAttach;
+ }
+
+ public void setMultiAttach(String multiAttach) {
+ this.multiAttach = multiAttach;
+ if(multiAttach != null){
+ putQueryParameter("MultiAttach", multiAttach);
+ }
+ }
+
+ public String getAdvancedFeatures() {
+ return this.advancedFeatures;
+ }
+
+ public void setAdvancedFeatures(String advancedFeatures) {
+ this.advancedFeatures = advancedFeatures;
+ if(advancedFeatures != null){
+ putQueryParameter("AdvancedFeatures", advancedFeatures);
+ }
+ }
+
+ public List getArns() {
+ return this.arns;
+ }
+
+ public void setArns(List arns) {
+ this.arns = arns;
+ if (arns != null) {
+ for (int depth1 = 0; depth1 < arns.size(); depth1++) {
+ putQueryParameter("Arn." + (depth1 + 1) + ".Rolearn" , arns.get(depth1).getRolearn());
+ putQueryParameter("Arn." + (depth1 + 1) + ".RoleType" , arns.get(depth1).getRoleType());
+ putQueryParameter("Arn." + (depth1 + 1) + ".AssumeRoleFor" , arns.get(depth1).getAssumeRoleFor());
+ }
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getPerformanceLevel() {
+ return this.performanceLevel;
+ }
+
+ public void setPerformanceLevel(String performanceLevel) {
+ this.performanceLevel = performanceLevel;
+ if(performanceLevel != null){
+ putQueryParameter("PerformanceLevel", performanceLevel);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Boolean getBurstingEnabled() {
+ return this.burstingEnabled;
+ }
+
+ public void setBurstingEnabled(Boolean burstingEnabled) {
+ this.burstingEnabled = burstingEnabled;
+ if(burstingEnabled != null){
+ putQueryParameter("BurstingEnabled", burstingEnabled.toString());
+ }
+ }
+
+ public String getStorageSetId() {
+ return this.storageSetId;
+ }
+
+ public void setStorageSetId(String storageSetId) {
+ this.storageSetId = storageSetId;
+ if(storageSetId != null){
+ putQueryParameter("StorageSetId", storageSetId);
+ }
+ }
+
+ public Boolean getEncrypted() {
+ return this.encrypted;
+ }
+
+ public void setEncrypted(Boolean encrypted) {
+ this.encrypted = encrypted;
+ if(encrypted != null){
+ putQueryParameter("Encrypted", encrypted.toString());
+ }
+ }
+
+ public String getKMSKeyId() {
+ return this.kMSKeyId;
+ }
+
+ public void setKMSKeyId(String kMSKeyId) {
+ this.kMSKeyId = kMSKeyId;
+ if(kMSKeyId != null){
+ putQueryParameter("KMSKeyId", kMSKeyId);
+ }
+ }
+
+ public static class Tag {
+
+ private String value;
+
+ private String key;
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+ }
+
+ public static class Arn {
+
+ private String rolearn;
+
+ private String roleType;
+
+ private Long assumeRoleFor;
+
+ public String getRolearn() {
+ return this.rolearn;
+ }
+
+ public void setRolearn(String rolearn) {
+ this.rolearn = rolearn;
+ }
+
+ public String getRoleType() {
+ return this.roleType;
+ }
+
+ public void setRoleType(String roleType) {
+ this.roleType = roleType;
+ }
+
+ public Long getAssumeRoleFor() {
+ return this.assumeRoleFor;
+ }
+
+ public void setAssumeRoleFor(Long assumeRoleFor) {
+ this.assumeRoleFor = assumeRoleFor;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateDiskResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiskResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiskResponse.java
new file mode 100644
index 0000000000..4e22d8022d
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiskResponse.java
@@ -0,0 +1,61 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateDiskResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateDiskResponse extends AcsResponse {
+
+ private String diskId;
+
+ private String requestId;
+
+ private String orderId;
+
+ public String getDiskId() {
+ return this.diskId;
+ }
+
+ public void setDiskId(String diskId) {
+ this.diskId = diskId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public String getOrderId() {
+ return this.orderId;
+ }
+
+ public void setOrderId(String orderId) {
+ this.orderId = orderId;
+ }
+
+ @Override
+ public CreateDiskResponse getInstance(UnmarshallerContext context) {
+ return CreateDiskResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20160314/CreateElasticityAssuranceRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateElasticityAssuranceRequest.java
similarity index 95%
rename from aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20160314/CreateElasticityAssuranceRequest.java
rename to aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateElasticityAssuranceRequest.java
index 72d8693eeb..080a968082 100644
--- a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20160314/CreateElasticityAssuranceRequest.java
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateElasticityAssuranceRequest.java
@@ -12,7 +12,7 @@
* limitations under the License.
*/
-package com.aliyuncs.ecs.model.v20160314;
+package com.aliyuncs.ecs.model.v20140526;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
@@ -62,7 +62,7 @@ public class CreateElasticityAssuranceRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String forwardTableId;
+
+ private String internalIp;
+
+ private String externalIp;
+
+ private String resourceOwnerAccount;
+
+ private String ipProtocol;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String internalPort;
+
+ private String externalPort;
+ public CreateForwardEntryRequest() {
+ super("Ecs", "2014-05-26", "CreateForwardEntry", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getForwardTableId() {
+ return this.forwardTableId;
+ }
+
+ public void setForwardTableId(String forwardTableId) {
+ this.forwardTableId = forwardTableId;
+ if(forwardTableId != null){
+ putQueryParameter("ForwardTableId", forwardTableId);
+ }
+ }
+
+ public String getInternalIp() {
+ return this.internalIp;
+ }
+
+ public void setInternalIp(String internalIp) {
+ this.internalIp = internalIp;
+ if(internalIp != null){
+ putQueryParameter("InternalIp", internalIp);
+ }
+ }
+
+ public String getExternalIp() {
+ return this.externalIp;
+ }
+
+ public void setExternalIp(String externalIp) {
+ this.externalIp = externalIp;
+ if(externalIp != null){
+ putQueryParameter("ExternalIp", externalIp);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getIpProtocol() {
+ return this.ipProtocol;
+ }
+
+ public void setIpProtocol(String ipProtocol) {
+ this.ipProtocol = ipProtocol;
+ if(ipProtocol != null){
+ putQueryParameter("IpProtocol", ipProtocol);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getInternalPort() {
+ return this.internalPort;
+ }
+
+ public void setInternalPort(String internalPort) {
+ this.internalPort = internalPort;
+ if(internalPort != null){
+ putQueryParameter("InternalPort", internalPort);
+ }
+ }
+
+ public String getExternalPort() {
+ return this.externalPort;
+ }
+
+ public void setExternalPort(String externalPort) {
+ this.externalPort = externalPort;
+ if(externalPort != null){
+ putQueryParameter("ExternalPort", externalPort);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateForwardEntryResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateForwardEntryResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateForwardEntryResponse.java
new file mode 100644
index 0000000000..61f8711c75
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateForwardEntryResponse.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateForwardEntryResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateForwardEntryResponse extends AcsResponse {
+
+ private String forwardEntryId;
+
+ private String requestId;
+
+ public String getForwardEntryId() {
+ return this.forwardEntryId;
+ }
+
+ public void setForwardEntryId(String forwardEntryId) {
+ this.forwardEntryId = forwardEntryId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CreateForwardEntryResponse getInstance(UnmarshallerContext context) {
+ return CreateForwardEntryResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateHaVipRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateHaVipRequest.java
new file mode 100644
index 0000000000..166ca80904
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateHaVipRequest.java
@@ -0,0 +1,145 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateHaVipRequest extends RpcAcsRequest {
+
+
+ private String ipAddress;
+
+ private Long resourceOwnerId;
+
+ private String clientToken;
+
+ private String description;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String vSwitchId;
+ public CreateHaVipRequest() {
+ super("Ecs", "2014-05-26", "CreateHaVip", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getIpAddress() {
+ return this.ipAddress;
+ }
+
+ public void setIpAddress(String ipAddress) {
+ this.ipAddress = ipAddress;
+ if(ipAddress != null){
+ putQueryParameter("IpAddress", ipAddress);
+ }
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getVSwitchId() {
+ return this.vSwitchId;
+ }
+
+ public void setVSwitchId(String vSwitchId) {
+ this.vSwitchId = vSwitchId;
+ if(vSwitchId != null){
+ putQueryParameter("VSwitchId", vSwitchId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateHaVipResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateHaVipResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateHaVipResponse.java
new file mode 100644
index 0000000000..f2d2fcb788
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateHaVipResponse.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateHaVipResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateHaVipResponse extends AcsResponse {
+
+ private String haVipId;
+
+ private String requestId;
+
+ public String getHaVipId() {
+ return this.haVipId;
+ }
+
+ public void setHaVipId(String haVipId) {
+ this.haVipId = haVipId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CreateHaVipResponse getInstance(UnmarshallerContext context) {
+ return CreateHaVipResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateHpcClusterRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateHpcClusterRequest.java
new file mode 100644
index 0000000000..bd05e7ea6a
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateHpcClusterRequest.java
@@ -0,0 +1,132 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateHpcClusterRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String clientToken;
+
+ private String description;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String name;
+ public CreateHpcClusterRequest() {
+ super("Ecs", "2014-05-26", "CreateHpcCluster", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getName() {
+ return this.name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ if(name != null){
+ putQueryParameter("Name", name);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateHpcClusterResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateHpcClusterResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateHpcClusterResponse.java
new file mode 100644
index 0000000000..e42c7c8812
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateHpcClusterResponse.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateHpcClusterResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateHpcClusterResponse extends AcsResponse {
+
+ private String hpcClusterId;
+
+ private String requestId;
+
+ public String getHpcClusterId() {
+ return this.hpcClusterId;
+ }
+
+ public void setHpcClusterId(String hpcClusterId) {
+ this.hpcClusterId = hpcClusterId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CreateHpcClusterResponse getInstance(UnmarshallerContext context) {
+ return CreateHpcClusterResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImageComponentRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImageComponentRequest.java
new file mode 100644
index 0000000000..dd6386fe6b
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImageComponentRequest.java
@@ -0,0 +1,224 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateImageComponentRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String clientToken;
+
+ private String description;
+
+ private String systemType;
+
+ private String content;
+
+ private String resourceGroupId;
+
+ private List tags;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String componentType;
+
+ private String name;
+ public CreateImageComponentRequest() {
+ super("Ecs", "2014-05-26", "CreateImageComponent", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public String getSystemType() {
+ return this.systemType;
+ }
+
+ public void setSystemType(String systemType) {
+ this.systemType = systemType;
+ if(systemType != null){
+ putQueryParameter("SystemType", systemType);
+ }
+ }
+
+ public String getContent() {
+ return this.content;
+ }
+
+ public void setContent(String content) {
+ this.content = content;
+ if(content != null){
+ putQueryParameter("Content", content);
+ }
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ if(resourceGroupId != null){
+ putQueryParameter("ResourceGroupId", resourceGroupId);
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ }
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getComponentType() {
+ return this.componentType;
+ }
+
+ public void setComponentType(String componentType) {
+ this.componentType = componentType;
+ if(componentType != null){
+ putQueryParameter("ComponentType", componentType);
+ }
+ }
+
+ public String getName() {
+ return this.name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ if(name != null){
+ putQueryParameter("Name", name);
+ }
+ }
+
+ public static class Tag {
+
+ private String key;
+
+ private String value;
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateImageComponentResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImageComponentResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImageComponentResponse.java
new file mode 100644
index 0000000000..0036f213c0
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImageComponentResponse.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateImageComponentResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateImageComponentResponse extends AcsResponse {
+
+ private String imageComponentId;
+
+ private String requestId;
+
+ public String getImageComponentId() {
+ return this.imageComponentId;
+ }
+
+ public void setImageComponentId(String imageComponentId) {
+ this.imageComponentId = imageComponentId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CreateImageComponentResponse getInstance(UnmarshallerContext context) {
+ return CreateImageComponentResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImagePipelineRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImagePipelineRequest.java
new file mode 100644
index 0000000000..94ccb01a72
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImagePipelineRequest.java
@@ -0,0 +1,332 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateImagePipelineRequest extends RpcAcsRequest {
+
+
+ private String baseImageType;
+
+ private Long resourceOwnerId;
+
+ private String clientToken;
+
+ private List toRegionIds;
+
+ private Integer internetMaxBandwidthOut;
+
+ private String description;
+
+ private String resourceGroupId;
+
+ private String imageName;
+
+ private Integer systemDiskSize;
+
+ private String instanceType;
+
+ private List tags;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String baseImage;
+
+ private String vSwitchId;
+
+ private List addAccounts;
+
+ private Boolean deleteInstanceOnFailure;
+
+ private String name;
+
+ private String buildContent;
+ public CreateImagePipelineRequest() {
+ super("Ecs", "2014-05-26", "CreateImagePipeline", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getBaseImageType() {
+ return this.baseImageType;
+ }
+
+ public void setBaseImageType(String baseImageType) {
+ this.baseImageType = baseImageType;
+ if(baseImageType != null){
+ putQueryParameter("BaseImageType", baseImageType);
+ }
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public List getToRegionIds() {
+ return this.toRegionIds;
+ }
+
+ public void setToRegionIds(List toRegionIds) {
+ this.toRegionIds = toRegionIds;
+ if (toRegionIds != null) {
+ for (int i = 0; i < toRegionIds.size(); i++) {
+ putQueryParameter("ToRegionId." + (i + 1) , toRegionIds.get(i));
+ }
+ }
+ }
+
+ public Integer getInternetMaxBandwidthOut() {
+ return this.internetMaxBandwidthOut;
+ }
+
+ public void setInternetMaxBandwidthOut(Integer internetMaxBandwidthOut) {
+ this.internetMaxBandwidthOut = internetMaxBandwidthOut;
+ if(internetMaxBandwidthOut != null){
+ putQueryParameter("InternetMaxBandwidthOut", internetMaxBandwidthOut.toString());
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ if(resourceGroupId != null){
+ putQueryParameter("ResourceGroupId", resourceGroupId);
+ }
+ }
+
+ public String getImageName() {
+ return this.imageName;
+ }
+
+ public void setImageName(String imageName) {
+ this.imageName = imageName;
+ if(imageName != null){
+ putQueryParameter("ImageName", imageName);
+ }
+ }
+
+ public Integer getSystemDiskSize() {
+ return this.systemDiskSize;
+ }
+
+ public void setSystemDiskSize(Integer systemDiskSize) {
+ this.systemDiskSize = systemDiskSize;
+ if(systemDiskSize != null){
+ putQueryParameter("SystemDiskSize", systemDiskSize.toString());
+ }
+ }
+
+ public String getInstanceType() {
+ return this.instanceType;
+ }
+
+ public void setInstanceType(String instanceType) {
+ this.instanceType = instanceType;
+ if(instanceType != null){
+ putQueryParameter("InstanceType", instanceType);
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ }
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getBaseImage() {
+ return this.baseImage;
+ }
+
+ public void setBaseImage(String baseImage) {
+ this.baseImage = baseImage;
+ if(baseImage != null){
+ putQueryParameter("BaseImage", baseImage);
+ }
+ }
+
+ public String getVSwitchId() {
+ return this.vSwitchId;
+ }
+
+ public void setVSwitchId(String vSwitchId) {
+ this.vSwitchId = vSwitchId;
+ if(vSwitchId != null){
+ putQueryParameter("VSwitchId", vSwitchId);
+ }
+ }
+
+ public List getAddAccounts() {
+ return this.addAccounts;
+ }
+
+ public void setAddAccounts(List addAccounts) {
+ this.addAccounts = addAccounts;
+ if (addAccounts != null) {
+ for (int i = 0; i < addAccounts.size(); i++) {
+ putQueryParameter("AddAccount." + (i + 1) , addAccounts.get(i));
+ }
+ }
+ }
+
+ public Boolean getDeleteInstanceOnFailure() {
+ return this.deleteInstanceOnFailure;
+ }
+
+ public void setDeleteInstanceOnFailure(Boolean deleteInstanceOnFailure) {
+ this.deleteInstanceOnFailure = deleteInstanceOnFailure;
+ if(deleteInstanceOnFailure != null){
+ putQueryParameter("DeleteInstanceOnFailure", deleteInstanceOnFailure.toString());
+ }
+ }
+
+ public String getName() {
+ return this.name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ if(name != null){
+ putQueryParameter("Name", name);
+ }
+ }
+
+ public String getBuildContent() {
+ return this.buildContent;
+ }
+
+ public void setBuildContent(String buildContent) {
+ this.buildContent = buildContent;
+ if(buildContent != null){
+ putQueryParameter("BuildContent", buildContent);
+ }
+ }
+
+ public static class Tag {
+
+ private String key;
+
+ private String value;
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateImagePipelineResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImagePipelineResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImagePipelineResponse.java
new file mode 100644
index 0000000000..e0205ee481
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImagePipelineResponse.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateImagePipelineResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateImagePipelineResponse extends AcsResponse {
+
+ private String imagePipelineId;
+
+ private String requestId;
+
+ public String getImagePipelineId() {
+ return this.imagePipelineId;
+ }
+
+ public void setImagePipelineId(String imagePipelineId) {
+ this.imagePipelineId = imagePipelineId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CreateImagePipelineResponse getInstance(UnmarshallerContext context) {
+ return CreateImagePipelineResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImageRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImageRequest.java
new file mode 100644
index 0000000000..77b224da96
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImageRequest.java
@@ -0,0 +1,350 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateImageRequest extends RpcAcsRequest {
+
+
+ private List diskDeviceMappings;
+
+ private Long resourceOwnerId;
+
+ private String snapshotId;
+
+ private String clientToken;
+
+ private String description;
+
+ private String platform;
+
+ private String resourceGroupId;
+
+ private String bootMode;
+
+ private String imageName;
+
+ private List tags;
+
+ private String architecture;
+
+ private String detectionStrategy;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private Long ownerId;
+
+ private String instanceId;
+
+ private String imageFamily;
+
+ private String imageVersion;
+ public CreateImageRequest() {
+ super("Ecs", "2014-05-26", "CreateImage", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public List getDiskDeviceMappings() {
+ return this.diskDeviceMappings;
+ }
+
+ public void setDiskDeviceMappings(List diskDeviceMappings) {
+ this.diskDeviceMappings = diskDeviceMappings;
+ if (diskDeviceMappings != null) {
+ for (int depth1 = 0; depth1 < diskDeviceMappings.size(); depth1++) {
+ putQueryParameter("DiskDeviceMapping." + (depth1 + 1) + ".SnapshotId" , diskDeviceMappings.get(depth1).getSnapshotId());
+ putQueryParameter("DiskDeviceMapping." + (depth1 + 1) + ".Size" , diskDeviceMappings.get(depth1).getSize());
+ putQueryParameter("DiskDeviceMapping." + (depth1 + 1) + ".DiskType" , diskDeviceMappings.get(depth1).getDiskType());
+ putQueryParameter("DiskDeviceMapping." + (depth1 + 1) + ".Device" , diskDeviceMappings.get(depth1).getDevice());
+ }
+ }
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getSnapshotId() {
+ return this.snapshotId;
+ }
+
+ public void setSnapshotId(String snapshotId) {
+ this.snapshotId = snapshotId;
+ if(snapshotId != null){
+ putQueryParameter("SnapshotId", snapshotId);
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public String getPlatform() {
+ return this.platform;
+ }
+
+ public void setPlatform(String platform) {
+ this.platform = platform;
+ if(platform != null){
+ putQueryParameter("Platform", platform);
+ }
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ if(resourceGroupId != null){
+ putQueryParameter("ResourceGroupId", resourceGroupId);
+ }
+ }
+
+ public String getBootMode() {
+ return this.bootMode;
+ }
+
+ public void setBootMode(String bootMode) {
+ this.bootMode = bootMode;
+ if(bootMode != null){
+ putQueryParameter("BootMode", bootMode);
+ }
+ }
+
+ public String getImageName() {
+ return this.imageName;
+ }
+
+ public void setImageName(String imageName) {
+ this.imageName = imageName;
+ if(imageName != null){
+ putQueryParameter("ImageName", imageName);
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ }
+ }
+ }
+
+ public String getArchitecture() {
+ return this.architecture;
+ }
+
+ public void setArchitecture(String architecture) {
+ this.architecture = architecture;
+ if(architecture != null){
+ putQueryParameter("Architecture", architecture);
+ }
+ }
+
+ public String getDetectionStrategy() {
+ return this.detectionStrategy;
+ }
+
+ public void setDetectionStrategy(String detectionStrategy) {
+ this.detectionStrategy = detectionStrategy;
+ if(detectionStrategy != null){
+ putQueryParameter("DetectionStrategy", detectionStrategy);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ if(instanceId != null){
+ putQueryParameter("InstanceId", instanceId);
+ }
+ }
+
+ public String getImageFamily() {
+ return this.imageFamily;
+ }
+
+ public void setImageFamily(String imageFamily) {
+ this.imageFamily = imageFamily;
+ if(imageFamily != null){
+ putQueryParameter("ImageFamily", imageFamily);
+ }
+ }
+
+ public String getImageVersion() {
+ return this.imageVersion;
+ }
+
+ public void setImageVersion(String imageVersion) {
+ this.imageVersion = imageVersion;
+ if(imageVersion != null){
+ putQueryParameter("ImageVersion", imageVersion);
+ }
+ }
+
+ public static class DiskDeviceMapping {
+
+ private String snapshotId;
+
+ private Integer size;
+
+ private String diskType;
+
+ private String device;
+
+ public String getSnapshotId() {
+ return this.snapshotId;
+ }
+
+ public void setSnapshotId(String snapshotId) {
+ this.snapshotId = snapshotId;
+ }
+
+ public Integer getSize() {
+ return this.size;
+ }
+
+ public void setSize(Integer size) {
+ this.size = size;
+ }
+
+ public String getDiskType() {
+ return this.diskType;
+ }
+
+ public void setDiskType(String diskType) {
+ this.diskType = diskType;
+ }
+
+ public String getDevice() {
+ return this.device;
+ }
+
+ public void setDevice(String device) {
+ this.device = device;
+ }
+ }
+
+ public static class Tag {
+
+ private String value;
+
+ private String key;
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateImageResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImageResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImageResponse.java
new file mode 100644
index 0000000000..76ef07c3e7
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateImageResponse.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateImageResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateImageResponse extends AcsResponse {
+
+ private String imageId;
+
+ private String requestId;
+
+ public String getImageId() {
+ return this.imageId;
+ }
+
+ public void setImageId(String imageId) {
+ this.imageId = imageId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public CreateImageResponse getInstance(UnmarshallerContext context) {
+ return CreateImageResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateInstanceRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateInstanceRequest.java
new file mode 100644
index 0000000000..5020783e80
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateInstanceRequest.java
@@ -0,0 +1,1113 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateInstanceRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String hpcClusterId;
+
+ private Integer httpPutResponseHopLimit;
+
+ private String securityEnhancementStrategy;
+
+ private String keyPairName;
+
+ private Float spotPriceLimit;
+
+ private Boolean deletionProtection;
+
+ private String resourceGroupId;
+
+ private String privatePoolOptionsMatchCriteria;
+
+ private String hostName;
+
+ private String password;
+
+ private SystemDisk systemDisk;
+
+ private Integer deploymentSetGroupNo;
+
+ private Integer storageSetPartitionNumber;
+
+ private List tags;
+
+ private String privatePoolOptionsId;
+
+ private Integer autoRenewPeriod;
+
+ private String nodeControllerId;
+
+ private Integer period;
+
+ private Boolean dryRun;
+
+ private Long ownerId;
+
+ private String vSwitchId;
+
+ private String privateIpAddress;
+
+ private String spotStrategy;
+
+ private String periodUnit;
+
+ private String instanceName;
+
+ private Boolean autoRenew;
+
+ private String internetChargeType;
+
+ private String zoneId;
+
+ private Integer internetMaxBandwidthIn;
+
+ private Boolean useAdditionalService;
+
+ private String affinity;
+
+ private String imageId;
+
+ private String clientToken;
+
+ private String vlanId;
+
+ private String spotInterruptionBehavior;
+
+ private String ioOptimized;
+
+ private String securityGroupId;
+
+ private Integer internetMaxBandwidthOut;
+
+ private Boolean hibernationOptionsConfigured;
+
+ private String description;
+
+ private String systemDiskCategory;
+
+ private String systemDiskPerformanceLevel;
+
+ private String userData;
+
+ private Boolean passwordInherit;
+
+ private String httpEndpoint;
+
+ private String instanceType;
+
+ private List arns;
+
+ private String instanceChargeType;
+
+ private String deploymentSetId;
+
+ private String innerIpAddress;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private String tenancy;
+
+ private String systemDiskDiskName;
+
+ private String ramRoleName;
+
+ private String dedicatedHostId;
+
+ private String clusterId;
+
+ private String creditSpecification;
+
+ private Integer spotDuration;
+
+ private List dataDisks;
+
+ private String storageSetId;
+
+ private Integer systemDiskSize;
+
+ private String imageFamily;
+
+ private String httpTokens;
+
+ private String systemDiskDescription;
+ public CreateInstanceRequest() {
+ super("Ecs", "2014-05-26", "CreateInstance", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getHpcClusterId() {
+ return this.hpcClusterId;
+ }
+
+ public void setHpcClusterId(String hpcClusterId) {
+ this.hpcClusterId = hpcClusterId;
+ if(hpcClusterId != null){
+ putQueryParameter("HpcClusterId", hpcClusterId);
+ }
+ }
+
+ public Integer getHttpPutResponseHopLimit() {
+ return this.httpPutResponseHopLimit;
+ }
+
+ public void setHttpPutResponseHopLimit(Integer httpPutResponseHopLimit) {
+ this.httpPutResponseHopLimit = httpPutResponseHopLimit;
+ if(httpPutResponseHopLimit != null){
+ putQueryParameter("HttpPutResponseHopLimit", httpPutResponseHopLimit.toString());
+ }
+ }
+
+ public String getSecurityEnhancementStrategy() {
+ return this.securityEnhancementStrategy;
+ }
+
+ public void setSecurityEnhancementStrategy(String securityEnhancementStrategy) {
+ this.securityEnhancementStrategy = securityEnhancementStrategy;
+ if(securityEnhancementStrategy != null){
+ putQueryParameter("SecurityEnhancementStrategy", securityEnhancementStrategy);
+ }
+ }
+
+ public String getKeyPairName() {
+ return this.keyPairName;
+ }
+
+ public void setKeyPairName(String keyPairName) {
+ this.keyPairName = keyPairName;
+ if(keyPairName != null){
+ putQueryParameter("KeyPairName", keyPairName);
+ }
+ }
+
+ public Float getSpotPriceLimit() {
+ return this.spotPriceLimit;
+ }
+
+ public void setSpotPriceLimit(Float spotPriceLimit) {
+ this.spotPriceLimit = spotPriceLimit;
+ if(spotPriceLimit != null){
+ putQueryParameter("SpotPriceLimit", spotPriceLimit.toString());
+ }
+ }
+
+ public Boolean getDeletionProtection() {
+ return this.deletionProtection;
+ }
+
+ public void setDeletionProtection(Boolean deletionProtection) {
+ this.deletionProtection = deletionProtection;
+ if(deletionProtection != null){
+ putQueryParameter("DeletionProtection", deletionProtection.toString());
+ }
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ if(resourceGroupId != null){
+ putQueryParameter("ResourceGroupId", resourceGroupId);
+ }
+ }
+
+ public String getPrivatePoolOptionsMatchCriteria() {
+ return this.privatePoolOptionsMatchCriteria;
+ }
+
+ public void setPrivatePoolOptionsMatchCriteria(String privatePoolOptionsMatchCriteria) {
+ this.privatePoolOptionsMatchCriteria = privatePoolOptionsMatchCriteria;
+ if(privatePoolOptionsMatchCriteria != null){
+ putQueryParameter("PrivatePoolOptions.MatchCriteria", privatePoolOptionsMatchCriteria);
+ }
+ }
+
+ public String getHostName() {
+ return this.hostName;
+ }
+
+ public void setHostName(String hostName) {
+ this.hostName = hostName;
+ if(hostName != null){
+ putQueryParameter("HostName", hostName);
+ }
+ }
+
+ public String getPassword() {
+ return this.password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ if(password != null){
+ putQueryParameter("Password", password);
+ }
+ }
+
+ public SystemDisk getSystemDisk() {
+ return this.systemDisk;
+ }
+
+ public void setSystemDisk(SystemDisk systemDisk) {
+ this.systemDisk = systemDisk;
+ if (systemDisk != null) {
+
+ putQueryParameter("SystemDisk.StorageClusterId" , systemDisk.getStorageClusterId());
+ }
+ }
+
+ public Integer getDeploymentSetGroupNo() {
+ return this.deploymentSetGroupNo;
+ }
+
+ public void setDeploymentSetGroupNo(Integer deploymentSetGroupNo) {
+ this.deploymentSetGroupNo = deploymentSetGroupNo;
+ if(deploymentSetGroupNo != null){
+ putQueryParameter("DeploymentSetGroupNo", deploymentSetGroupNo.toString());
+ }
+ }
+
+ public Integer getStorageSetPartitionNumber() {
+ return this.storageSetPartitionNumber;
+ }
+
+ public void setStorageSetPartitionNumber(Integer storageSetPartitionNumber) {
+ this.storageSetPartitionNumber = storageSetPartitionNumber;
+ if(storageSetPartitionNumber != null){
+ putQueryParameter("StorageSetPartitionNumber", storageSetPartitionNumber.toString());
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ }
+ }
+ }
+
+ public String getPrivatePoolOptionsId() {
+ return this.privatePoolOptionsId;
+ }
+
+ public void setPrivatePoolOptionsId(String privatePoolOptionsId) {
+ this.privatePoolOptionsId = privatePoolOptionsId;
+ if(privatePoolOptionsId != null){
+ putQueryParameter("PrivatePoolOptions.Id", privatePoolOptionsId);
+ }
+ }
+
+ public Integer getAutoRenewPeriod() {
+ return this.autoRenewPeriod;
+ }
+
+ public void setAutoRenewPeriod(Integer autoRenewPeriod) {
+ this.autoRenewPeriod = autoRenewPeriod;
+ if(autoRenewPeriod != null){
+ putQueryParameter("AutoRenewPeriod", autoRenewPeriod.toString());
+ }
+ }
+
+ public String getNodeControllerId() {
+ return this.nodeControllerId;
+ }
+
+ public void setNodeControllerId(String nodeControllerId) {
+ this.nodeControllerId = nodeControllerId;
+ if(nodeControllerId != null){
+ putQueryParameter("NodeControllerId", nodeControllerId);
+ }
+ }
+
+ public Integer getPeriod() {
+ return this.period;
+ }
+
+ public void setPeriod(Integer period) {
+ this.period = period;
+ if(period != null){
+ putQueryParameter("Period", period.toString());
+ }
+ }
+
+ public Boolean getDryRun() {
+ return this.dryRun;
+ }
+
+ public void setDryRun(Boolean dryRun) {
+ this.dryRun = dryRun;
+ if(dryRun != null){
+ putQueryParameter("DryRun", dryRun.toString());
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getVSwitchId() {
+ return this.vSwitchId;
+ }
+
+ public void setVSwitchId(String vSwitchId) {
+ this.vSwitchId = vSwitchId;
+ if(vSwitchId != null){
+ putQueryParameter("VSwitchId", vSwitchId);
+ }
+ }
+
+ public String getPrivateIpAddress() {
+ return this.privateIpAddress;
+ }
+
+ public void setPrivateIpAddress(String privateIpAddress) {
+ this.privateIpAddress = privateIpAddress;
+ if(privateIpAddress != null){
+ putQueryParameter("PrivateIpAddress", privateIpAddress);
+ }
+ }
+
+ public String getSpotStrategy() {
+ return this.spotStrategy;
+ }
+
+ public void setSpotStrategy(String spotStrategy) {
+ this.spotStrategy = spotStrategy;
+ if(spotStrategy != null){
+ putQueryParameter("SpotStrategy", spotStrategy);
+ }
+ }
+
+ public String getPeriodUnit() {
+ return this.periodUnit;
+ }
+
+ public void setPeriodUnit(String periodUnit) {
+ this.periodUnit = periodUnit;
+ if(periodUnit != null){
+ putQueryParameter("PeriodUnit", periodUnit);
+ }
+ }
+
+ public String getInstanceName() {
+ return this.instanceName;
+ }
+
+ public void setInstanceName(String instanceName) {
+ this.instanceName = instanceName;
+ if(instanceName != null){
+ putQueryParameter("InstanceName", instanceName);
+ }
+ }
+
+ public Boolean getAutoRenew() {
+ return this.autoRenew;
+ }
+
+ public void setAutoRenew(Boolean autoRenew) {
+ this.autoRenew = autoRenew;
+ if(autoRenew != null){
+ putQueryParameter("AutoRenew", autoRenew.toString());
+ }
+ }
+
+ public String getInternetChargeType() {
+ return this.internetChargeType;
+ }
+
+ public void setInternetChargeType(String internetChargeType) {
+ this.internetChargeType = internetChargeType;
+ if(internetChargeType != null){
+ putQueryParameter("InternetChargeType", internetChargeType);
+ }
+ }
+
+ public String getZoneId() {
+ return this.zoneId;
+ }
+
+ public void setZoneId(String zoneId) {
+ this.zoneId = zoneId;
+ if(zoneId != null){
+ putQueryParameter("ZoneId", zoneId);
+ }
+ }
+
+ public Integer getInternetMaxBandwidthIn() {
+ return this.internetMaxBandwidthIn;
+ }
+
+ public void setInternetMaxBandwidthIn(Integer internetMaxBandwidthIn) {
+ this.internetMaxBandwidthIn = internetMaxBandwidthIn;
+ if(internetMaxBandwidthIn != null){
+ putQueryParameter("InternetMaxBandwidthIn", internetMaxBandwidthIn.toString());
+ }
+ }
+
+ public Boolean getUseAdditionalService() {
+ return this.useAdditionalService;
+ }
+
+ public void setUseAdditionalService(Boolean useAdditionalService) {
+ this.useAdditionalService = useAdditionalService;
+ if(useAdditionalService != null){
+ putQueryParameter("UseAdditionalService", useAdditionalService.toString());
+ }
+ }
+
+ public String getAffinity() {
+ return this.affinity;
+ }
+
+ public void setAffinity(String affinity) {
+ this.affinity = affinity;
+ if(affinity != null){
+ putQueryParameter("Affinity", affinity);
+ }
+ }
+
+ public String getImageId() {
+ return this.imageId;
+ }
+
+ public void setImageId(String imageId) {
+ this.imageId = imageId;
+ if(imageId != null){
+ putQueryParameter("ImageId", imageId);
+ }
+ }
+
+ public String getClientToken() {
+ return this.clientToken;
+ }
+
+ public void setClientToken(String clientToken) {
+ this.clientToken = clientToken;
+ if(clientToken != null){
+ putQueryParameter("ClientToken", clientToken);
+ }
+ }
+
+ public String getVlanId() {
+ return this.vlanId;
+ }
+
+ public void setVlanId(String vlanId) {
+ this.vlanId = vlanId;
+ if(vlanId != null){
+ putQueryParameter("VlanId", vlanId);
+ }
+ }
+
+ public String getSpotInterruptionBehavior() {
+ return this.spotInterruptionBehavior;
+ }
+
+ public void setSpotInterruptionBehavior(String spotInterruptionBehavior) {
+ this.spotInterruptionBehavior = spotInterruptionBehavior;
+ if(spotInterruptionBehavior != null){
+ putQueryParameter("SpotInterruptionBehavior", spotInterruptionBehavior);
+ }
+ }
+
+ public String getIoOptimized() {
+ return this.ioOptimized;
+ }
+
+ public void setIoOptimized(String ioOptimized) {
+ this.ioOptimized = ioOptimized;
+ if(ioOptimized != null){
+ putQueryParameter("IoOptimized", ioOptimized);
+ }
+ }
+
+ public String getSecurityGroupId() {
+ return this.securityGroupId;
+ }
+
+ public void setSecurityGroupId(String securityGroupId) {
+ this.securityGroupId = securityGroupId;
+ if(securityGroupId != null){
+ putQueryParameter("SecurityGroupId", securityGroupId);
+ }
+ }
+
+ public Integer getInternetMaxBandwidthOut() {
+ return this.internetMaxBandwidthOut;
+ }
+
+ public void setInternetMaxBandwidthOut(Integer internetMaxBandwidthOut) {
+ this.internetMaxBandwidthOut = internetMaxBandwidthOut;
+ if(internetMaxBandwidthOut != null){
+ putQueryParameter("InternetMaxBandwidthOut", internetMaxBandwidthOut.toString());
+ }
+ }
+
+ public Boolean getHibernationOptionsConfigured() {
+ return this.hibernationOptionsConfigured;
+ }
+
+ public void setHibernationOptionsConfigured(Boolean hibernationOptionsConfigured) {
+ this.hibernationOptionsConfigured = hibernationOptionsConfigured;
+ if(hibernationOptionsConfigured != null){
+ putQueryParameter("HibernationOptions.Configured", hibernationOptionsConfigured.toString());
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public String getSystemDiskCategory() {
+ return this.systemDiskCategory;
+ }
+
+ public void setSystemDiskCategory(String systemDiskCategory) {
+ this.systemDiskCategory = systemDiskCategory;
+ if(systemDiskCategory != null){
+ putQueryParameter("SystemDisk.Category", systemDiskCategory);
+ }
+ }
+
+ public String getSystemDiskPerformanceLevel() {
+ return this.systemDiskPerformanceLevel;
+ }
+
+ public void setSystemDiskPerformanceLevel(String systemDiskPerformanceLevel) {
+ this.systemDiskPerformanceLevel = systemDiskPerformanceLevel;
+ if(systemDiskPerformanceLevel != null){
+ putQueryParameter("SystemDisk.PerformanceLevel", systemDiskPerformanceLevel);
+ }
+ }
+
+ public String getUserData() {
+ return this.userData;
+ }
+
+ public void setUserData(String userData) {
+ this.userData = userData;
+ if(userData != null){
+ putQueryParameter("UserData", userData);
+ }
+ }
+
+ public Boolean getPasswordInherit() {
+ return this.passwordInherit;
+ }
+
+ public void setPasswordInherit(Boolean passwordInherit) {
+ this.passwordInherit = passwordInherit;
+ if(passwordInherit != null){
+ putQueryParameter("PasswordInherit", passwordInherit.toString());
+ }
+ }
+
+ public String getHttpEndpoint() {
+ return this.httpEndpoint;
+ }
+
+ public void setHttpEndpoint(String httpEndpoint) {
+ this.httpEndpoint = httpEndpoint;
+ if(httpEndpoint != null){
+ putQueryParameter("HttpEndpoint", httpEndpoint);
+ }
+ }
+
+ public String getInstanceType() {
+ return this.instanceType;
+ }
+
+ public void setInstanceType(String instanceType) {
+ this.instanceType = instanceType;
+ if(instanceType != null){
+ putQueryParameter("InstanceType", instanceType);
+ }
+ }
+
+ public List getArns() {
+ return this.arns;
+ }
+
+ public void setArns(List arns) {
+ this.arns = arns;
+ if (arns != null) {
+ for (int depth1 = 0; depth1 < arns.size(); depth1++) {
+ putQueryParameter("Arn." + (depth1 + 1) + ".Rolearn" , arns.get(depth1).getRolearn());
+ putQueryParameter("Arn." + (depth1 + 1) + ".RoleType" , arns.get(depth1).getRoleType());
+ putQueryParameter("Arn." + (depth1 + 1) + ".AssumeRoleFor" , arns.get(depth1).getAssumeRoleFor());
+ }
+ }
+ }
+
+ public String getInstanceChargeType() {
+ return this.instanceChargeType;
+ }
+
+ public void setInstanceChargeType(String instanceChargeType) {
+ this.instanceChargeType = instanceChargeType;
+ if(instanceChargeType != null){
+ putQueryParameter("InstanceChargeType", instanceChargeType);
+ }
+ }
+
+ public String getDeploymentSetId() {
+ return this.deploymentSetId;
+ }
+
+ public void setDeploymentSetId(String deploymentSetId) {
+ this.deploymentSetId = deploymentSetId;
+ if(deploymentSetId != null){
+ putQueryParameter("DeploymentSetId", deploymentSetId);
+ }
+ }
+
+ public String getInnerIpAddress() {
+ return this.innerIpAddress;
+ }
+
+ public void setInnerIpAddress(String innerIpAddress) {
+ this.innerIpAddress = innerIpAddress;
+ if(innerIpAddress != null){
+ putQueryParameter("InnerIpAddress", innerIpAddress);
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public String getOwnerAccount() {
+ return this.ownerAccount;
+ }
+
+ public void setOwnerAccount(String ownerAccount) {
+ this.ownerAccount = ownerAccount;
+ if(ownerAccount != null){
+ putQueryParameter("OwnerAccount", ownerAccount);
+ }
+ }
+
+ public String getTenancy() {
+ return this.tenancy;
+ }
+
+ public void setTenancy(String tenancy) {
+ this.tenancy = tenancy;
+ if(tenancy != null){
+ putQueryParameter("Tenancy", tenancy);
+ }
+ }
+
+ public String getSystemDiskDiskName() {
+ return this.systemDiskDiskName;
+ }
+
+ public void setSystemDiskDiskName(String systemDiskDiskName) {
+ this.systemDiskDiskName = systemDiskDiskName;
+ if(systemDiskDiskName != null){
+ putQueryParameter("SystemDisk.DiskName", systemDiskDiskName);
+ }
+ }
+
+ public String getRamRoleName() {
+ return this.ramRoleName;
+ }
+
+ public void setRamRoleName(String ramRoleName) {
+ this.ramRoleName = ramRoleName;
+ if(ramRoleName != null){
+ putQueryParameter("RamRoleName", ramRoleName);
+ }
+ }
+
+ public String getDedicatedHostId() {
+ return this.dedicatedHostId;
+ }
+
+ public void setDedicatedHostId(String dedicatedHostId) {
+ this.dedicatedHostId = dedicatedHostId;
+ if(dedicatedHostId != null){
+ putQueryParameter("DedicatedHostId", dedicatedHostId);
+ }
+ }
+
+ public String getClusterId() {
+ return this.clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ if(clusterId != null){
+ putQueryParameter("ClusterId", clusterId);
+ }
+ }
+
+ public String getCreditSpecification() {
+ return this.creditSpecification;
+ }
+
+ public void setCreditSpecification(String creditSpecification) {
+ this.creditSpecification = creditSpecification;
+ if(creditSpecification != null){
+ putQueryParameter("CreditSpecification", creditSpecification);
+ }
+ }
+
+ public Integer getSpotDuration() {
+ return this.spotDuration;
+ }
+
+ public void setSpotDuration(Integer spotDuration) {
+ this.spotDuration = spotDuration;
+ if(spotDuration != null){
+ putQueryParameter("SpotDuration", spotDuration.toString());
+ }
+ }
+
+ public List getDataDisks() {
+ return this.dataDisks;
+ }
+
+ public void setDataDisks(List dataDisks) {
+ this.dataDisks = dataDisks;
+ if (dataDisks != null) {
+ for (int depth1 = 0; depth1 < dataDisks.size(); depth1++) {
+ putQueryParameter("DataDisk." + (depth1 + 1) + ".DiskName" , dataDisks.get(depth1).getDiskName());
+ putQueryParameter("DataDisk." + (depth1 + 1) + ".SnapshotId" , dataDisks.get(depth1).getSnapshotId());
+ putQueryParameter("DataDisk." + (depth1 + 1) + ".Size" , dataDisks.get(depth1).getSize());
+ putQueryParameter("DataDisk." + (depth1 + 1) + ".Encrypted" , dataDisks.get(depth1).getEncrypted());
+ putQueryParameter("DataDisk." + (depth1 + 1) + ".PerformanceLevel" , dataDisks.get(depth1).getPerformanceLevel());
+ putQueryParameter("DataDisk." + (depth1 + 1) + ".EncryptAlgorithm" , dataDisks.get(depth1).getEncryptAlgorithm());
+ putQueryParameter("DataDisk." + (depth1 + 1) + ".Description" , dataDisks.get(depth1).getDescription());
+ putQueryParameter("DataDisk." + (depth1 + 1) + ".StorageClusterId" , dataDisks.get(depth1).getStorageClusterId());
+ putQueryParameter("DataDisk." + (depth1 + 1) + ".Category" , dataDisks.get(depth1).getCategory());
+ putQueryParameter("DataDisk." + (depth1 + 1) + ".KMSKeyId" , dataDisks.get(depth1).getKMSKeyId());
+ putQueryParameter("DataDisk." + (depth1 + 1) + ".Device" , dataDisks.get(depth1).getDevice());
+ putQueryParameter("DataDisk." + (depth1 + 1) + ".DeleteWithInstance" , dataDisks.get(depth1).getDeleteWithInstance());
+ }
+ }
+ }
+
+ public String getStorageSetId() {
+ return this.storageSetId;
+ }
+
+ public void setStorageSetId(String storageSetId) {
+ this.storageSetId = storageSetId;
+ if(storageSetId != null){
+ putQueryParameter("StorageSetId", storageSetId);
+ }
+ }
+
+ public Integer getSystemDiskSize() {
+ return this.systemDiskSize;
+ }
+
+ public void setSystemDiskSize(Integer systemDiskSize) {
+ this.systemDiskSize = systemDiskSize;
+ if(systemDiskSize != null){
+ putQueryParameter("SystemDisk.Size", systemDiskSize.toString());
+ }
+ }
+
+ public String getImageFamily() {
+ return this.imageFamily;
+ }
+
+ public void setImageFamily(String imageFamily) {
+ this.imageFamily = imageFamily;
+ if(imageFamily != null){
+ putQueryParameter("ImageFamily", imageFamily);
+ }
+ }
+
+ public String getHttpTokens() {
+ return this.httpTokens;
+ }
+
+ public void setHttpTokens(String httpTokens) {
+ this.httpTokens = httpTokens;
+ if(httpTokens != null){
+ putQueryParameter("HttpTokens", httpTokens);
+ }
+ }
+
+ public String getSystemDiskDescription() {
+ return this.systemDiskDescription;
+ }
+
+ public void setSystemDiskDescription(String systemDiskDescription) {
+ this.systemDiskDescription = systemDiskDescription;
+ if(systemDiskDescription != null){
+ putQueryParameter("SystemDisk.Description", systemDiskDescription);
+ }
+ }
+
+ public static class SystemDisk {
+
+ private String storageClusterId;
+
+ public String getStorageClusterId() {
+ return this.storageClusterId;
+ }
+
+ public void setStorageClusterId(String storageClusterId) {
+ this.storageClusterId = storageClusterId;
+ }
+ }
+
+ public static class Tag {
+
+ private String value;
+
+ private String key;
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+ }
+
+ public static class Arn {
+
+ private String rolearn;
+
+ private String roleType;
+
+ private Long assumeRoleFor;
+
+ public String getRolearn() {
+ return this.rolearn;
+ }
+
+ public void setRolearn(String rolearn) {
+ this.rolearn = rolearn;
+ }
+
+ public String getRoleType() {
+ return this.roleType;
+ }
+
+ public void setRoleType(String roleType) {
+ this.roleType = roleType;
+ }
+
+ public Long getAssumeRoleFor() {
+ return this.assumeRoleFor;
+ }
+
+ public void setAssumeRoleFor(Long assumeRoleFor) {
+ this.assumeRoleFor = assumeRoleFor;
+ }
+ }
+
+ public static class DataDisk {
+
+ private String diskName;
+
+ private String snapshotId;
+
+ private Integer size;
+
+ private Boolean encrypted;
+
+ private String performanceLevel;
+
+ private String encryptAlgorithm;
+
+ private String description;
+
+ private String storageClusterId;
+
+ private String category;
+
+ private String kMSKeyId;
+
+ private String device;
+
+ private Boolean deleteWithInstance;
+
+ public String getDiskName() {
+ return this.diskName;
+ }
+
+ public void setDiskName(String diskName) {
+ this.diskName = diskName;
+ }
+
+ public String getSnapshotId() {
+ return this.snapshotId;
+ }
+
+ public void setSnapshotId(String snapshotId) {
+ this.snapshotId = snapshotId;
+ }
+
+ public Integer getSize() {
+ return this.size;
+ }
+
+ public void setSize(Integer size) {
+ this.size = size;
+ }
+
+ public Boolean getEncrypted() {
+ return this.encrypted;
+ }
+
+ public void setEncrypted(Boolean encrypted) {
+ this.encrypted = encrypted;
+ }
+
+ public String getPerformanceLevel() {
+ return this.performanceLevel;
+ }
+
+ public void setPerformanceLevel(String performanceLevel) {
+ this.performanceLevel = performanceLevel;
+ }
+
+ public String getEncryptAlgorithm() {
+ return this.encryptAlgorithm;
+ }
+
+ public void setEncryptAlgorithm(String encryptAlgorithm) {
+ this.encryptAlgorithm = encryptAlgorithm;
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getStorageClusterId() {
+ return this.storageClusterId;
+ }
+
+ public void setStorageClusterId(String storageClusterId) {
+ this.storageClusterId = storageClusterId;
+ }
+
+ public String getCategory() {
+ return this.category;
+ }
+
+ public void setCategory(String category) {
+ this.category = category;
+ }
+
+ public String getKMSKeyId() {
+ return this.kMSKeyId;
+ }
+
+ public void setKMSKeyId(String kMSKeyId) {
+ this.kMSKeyId = kMSKeyId;
+ }
+
+ public String getDevice() {
+ return this.device;
+ }
+
+ public void setDevice(String device) {
+ this.device = device;
+ }
+
+ public Boolean getDeleteWithInstance() {
+ return this.deleteWithInstance;
+ }
+
+ public void setDeleteWithInstance(Boolean deleteWithInstance) {
+ this.deleteWithInstance = deleteWithInstance;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateInstanceResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateInstanceResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateInstanceResponse.java
new file mode 100644
index 0000000000..f480ea6888
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateInstanceResponse.java
@@ -0,0 +1,71 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateInstanceResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateInstanceResponse extends AcsResponse {
+
+ private String requestId;
+
+ private String instanceId;
+
+ private String orderId;
+
+ private Float tradePrice;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public String getInstanceId() {
+ return this.instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ }
+
+ public String getOrderId() {
+ return this.orderId;
+ }
+
+ public void setOrderId(String orderId) {
+ this.orderId = orderId;
+ }
+
+ public Float getTradePrice() {
+ return this.tradePrice;
+ }
+
+ public void setTradePrice(Float tradePrice) {
+ this.tradePrice = tradePrice;
+ }
+
+ @Override
+ public CreateInstanceResponse getInstance(UnmarshallerContext context) {
+ return CreateInstanceResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateKeyPairRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateKeyPairRequest.java
new file mode 100644
index 0000000000..e76191c316
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateKeyPairRequest.java
@@ -0,0 +1,146 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateKeyPairRequest extends RpcAcsRequest {
+
+
+ private Long resourceOwnerId;
+
+ private String keyPairName;
+
+ private String resourceGroupId;
+
+ private List tags;
+
+ private String resourceOwnerAccount;
+
+ private Long ownerId;
+ public CreateKeyPairRequest() {
+ super("Ecs", "2014-05-26", "CreateKeyPair", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getKeyPairName() {
+ return this.keyPairName;
+ }
+
+ public void setKeyPairName(String keyPairName) {
+ this.keyPairName = keyPairName;
+ if(keyPairName != null){
+ putQueryParameter("KeyPairName", keyPairName);
+ }
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ if(resourceGroupId != null){
+ putQueryParameter("ResourceGroupId", resourceGroupId);
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ }
+ }
+ }
+
+ public String getResourceOwnerAccount() {
+ return this.resourceOwnerAccount;
+ }
+
+ public void setResourceOwnerAccount(String resourceOwnerAccount) {
+ this.resourceOwnerAccount = resourceOwnerAccount;
+ if(resourceOwnerAccount != null){
+ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public static class Tag {
+
+ private String value;
+
+ private String key;
+
+ public String getValue() {
+ return this.value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public String getKey() {
+ return this.key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateKeyPairResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateKeyPairResponse.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateKeyPairResponse.java
new file mode 100644
index 0000000000..b3208bc94d
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateKeyPairResponse.java
@@ -0,0 +1,81 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.ecs.transform.v20140526.CreateKeyPairResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateKeyPairResponse extends AcsResponse {
+
+ private String privateKeyBody;
+
+ private String keyPairName;
+
+ private String keyPairId;
+
+ private String requestId;
+
+ private String keyPairFingerPrint;
+
+ public String getPrivateKeyBody() {
+ return this.privateKeyBody;
+ }
+
+ public void setPrivateKeyBody(String privateKeyBody) {
+ this.privateKeyBody = privateKeyBody;
+ }
+
+ public String getKeyPairName() {
+ return this.keyPairName;
+ }
+
+ public void setKeyPairName(String keyPairName) {
+ this.keyPairName = keyPairName;
+ }
+
+ public String getKeyPairId() {
+ return this.keyPairId;
+ }
+
+ public void setKeyPairId(String keyPairId) {
+ this.keyPairId = keyPairId;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public String getKeyPairFingerPrint() {
+ return this.keyPairFingerPrint;
+ }
+
+ public void setKeyPairFingerPrint(String keyPairFingerPrint) {
+ this.keyPairFingerPrint = keyPairFingerPrint;
+ }
+
+ @Override
+ public CreateKeyPairResponse getInstance(UnmarshallerContext context) {
+ return CreateKeyPairResponseUnmarshaller.unmarshall(this, context);
+ }
+}
diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateLaunchTemplateRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateLaunchTemplateRequest.java
new file mode 100644
index 0000000000..7729601a3e
--- /dev/null
+++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateLaunchTemplateRequest.java
@@ -0,0 +1,1030 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.ecs.model.v20140526;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.ecs.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateLaunchTemplateRequest extends RpcAcsRequest {
+
+
+ private String launchTemplateName;
+
+ private Long resourceOwnerId;
+
+ private String securityEnhancementStrategy;
+
+ private String networkType;
+
+ private String keyPairName;
+
+ private Float spotPriceLimit;
+
+ private String imageOwnerAlias;
+
+ private String resourceGroupId;
+
+ private String hostName;
+
+ private Integer systemDiskIops;
+
+ private List templateTags;
+
+ private List tags;
+
+ private String systemDiskAutoSnapshotPolicyId;
+
+ private Integer period;
+
+ private Integer ipv6AddressCount;
+
+ private String templateResourceGroupId;
+
+ private Long ownerId;
+
+ private String vSwitchId;
+
+ private String spotStrategy;
+
+ private String privateIpAddress;
+
+ private Boolean systemDiskBurstingEnabled;
+
+ private String instanceName;
+
+ private String internetChargeType;
+
+ private String zoneId;
+
+ private Integer internetMaxBandwidthIn;
+
+ private String versionDescription;
+
+ private Boolean systemDiskDeleteWithInstance;
+
+ private String imageId;
+
+ private String ioOptimized;
+
+ private String securityGroupId;
+
+ private Integer internetMaxBandwidthOut;
+
+ private String description;
+
+ private String systemDiskCategory;
+
+ private String systemDiskPerformanceLevel;
+
+ private String userData;
+
+ private Boolean passwordInherit;
+
+ private String instanceType;
+
+ private String instanceChargeType;
+
+ private Boolean enableVmOsConfig;
+
+ private String deploymentSetId;
+
+ private List networkInterfaces;
+
+ private String resourceOwnerAccount;
+
+ private String ownerAccount;
+
+ private String systemDiskDiskName;
+
+ private String ramRoleName;
+
+ private String autoReleaseTime;
+
+ private Integer spotDuration;
+
+ private List securityGroupIdss;
+
+ private List dataDisks;
+
+ private Long systemDiskProvisionedIops;
+
+ private Integer systemDiskSize;
+
+ private String vpcId;
+
+ private String systemDiskDescription;
+
+ private String systemDiskEncrypted;
+ public CreateLaunchTemplateRequest() {
+ super("Ecs", "2014-05-26", "CreateLaunchTemplate", "ecs");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getLaunchTemplateName() {
+ return this.launchTemplateName;
+ }
+
+ public void setLaunchTemplateName(String launchTemplateName) {
+ this.launchTemplateName = launchTemplateName;
+ if(launchTemplateName != null){
+ putQueryParameter("LaunchTemplateName", launchTemplateName);
+ }
+ }
+
+ public Long getResourceOwnerId() {
+ return this.resourceOwnerId;
+ }
+
+ public void setResourceOwnerId(Long resourceOwnerId) {
+ this.resourceOwnerId = resourceOwnerId;
+ if(resourceOwnerId != null){
+ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
+ }
+ }
+
+ public String getSecurityEnhancementStrategy() {
+ return this.securityEnhancementStrategy;
+ }
+
+ public void setSecurityEnhancementStrategy(String securityEnhancementStrategy) {
+ this.securityEnhancementStrategy = securityEnhancementStrategy;
+ if(securityEnhancementStrategy != null){
+ putQueryParameter("SecurityEnhancementStrategy", securityEnhancementStrategy);
+ }
+ }
+
+ public String getNetworkType() {
+ return this.networkType;
+ }
+
+ public void setNetworkType(String networkType) {
+ this.networkType = networkType;
+ if(networkType != null){
+ putQueryParameter("NetworkType", networkType);
+ }
+ }
+
+ public String getKeyPairName() {
+ return this.keyPairName;
+ }
+
+ public void setKeyPairName(String keyPairName) {
+ this.keyPairName = keyPairName;
+ if(keyPairName != null){
+ putQueryParameter("KeyPairName", keyPairName);
+ }
+ }
+
+ public Float getSpotPriceLimit() {
+ return this.spotPriceLimit;
+ }
+
+ public void setSpotPriceLimit(Float spotPriceLimit) {
+ this.spotPriceLimit = spotPriceLimit;
+ if(spotPriceLimit != null){
+ putQueryParameter("SpotPriceLimit", spotPriceLimit.toString());
+ }
+ }
+
+ public String getImageOwnerAlias() {
+ return this.imageOwnerAlias;
+ }
+
+ public void setImageOwnerAlias(String imageOwnerAlias) {
+ this.imageOwnerAlias = imageOwnerAlias;
+ if(imageOwnerAlias != null){
+ putQueryParameter("ImageOwnerAlias", imageOwnerAlias);
+ }
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ if(resourceGroupId != null){
+ putQueryParameter("ResourceGroupId", resourceGroupId);
+ }
+ }
+
+ public String getHostName() {
+ return this.hostName;
+ }
+
+ public void setHostName(String hostName) {
+ this.hostName = hostName;
+ if(hostName != null){
+ putQueryParameter("HostName", hostName);
+ }
+ }
+
+ public Integer getSystemDiskIops() {
+ return this.systemDiskIops;
+ }
+
+ public void setSystemDiskIops(Integer systemDiskIops) {
+ this.systemDiskIops = systemDiskIops;
+ if(systemDiskIops != null){
+ putQueryParameter("SystemDisk.Iops", systemDiskIops.toString());
+ }
+ }
+
+ public List getTemplateTags() {
+ return this.templateTags;
+ }
+
+ public void setTemplateTags(List templateTags) {
+ this.templateTags = templateTags;
+ if (templateTags != null) {
+ for (int depth1 = 0; depth1 < templateTags.size(); depth1++) {
+ putQueryParameter("TemplateTag." + (depth1 + 1) + ".Key" , templateTags.get(depth1).getKey());
+ putQueryParameter("TemplateTag." + (depth1 + 1) + ".Value" , templateTags.get(depth1).getValue());
+ }
+ }
+ }
+
+ public List getTags() {
+ return this.tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ if (tags != null) {
+ for (int depth1 = 0; depth1 < tags.size(); depth1++) {
+ putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
+ putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
+ }
+ }
+ }
+
+ public String getSystemDiskAutoSnapshotPolicyId() {
+ return this.systemDiskAutoSnapshotPolicyId;
+ }
+
+ public void setSystemDiskAutoSnapshotPolicyId(String systemDiskAutoSnapshotPolicyId) {
+ this.systemDiskAutoSnapshotPolicyId = systemDiskAutoSnapshotPolicyId;
+ if(systemDiskAutoSnapshotPolicyId != null){
+ putQueryParameter("SystemDisk.AutoSnapshotPolicyId", systemDiskAutoSnapshotPolicyId);
+ }
+ }
+
+ public Integer getPeriod() {
+ return this.period;
+ }
+
+ public void setPeriod(Integer period) {
+ this.period = period;
+ if(period != null){
+ putQueryParameter("Period", period.toString());
+ }
+ }
+
+ public Integer getIpv6AddressCount() {
+ return this.ipv6AddressCount;
+ }
+
+ public void setIpv6AddressCount(Integer ipv6AddressCount) {
+ this.ipv6AddressCount = ipv6AddressCount;
+ if(ipv6AddressCount != null){
+ putQueryParameter("Ipv6AddressCount", ipv6AddressCount.toString());
+ }
+ }
+
+ public String getTemplateResourceGroupId() {
+ return this.templateResourceGroupId;
+ }
+
+ public void setTemplateResourceGroupId(String templateResourceGroupId) {
+ this.templateResourceGroupId = templateResourceGroupId;
+ if(templateResourceGroupId != null){
+ putQueryParameter("TemplateResourceGroupId", templateResourceGroupId);
+ }
+ }
+
+ public Long getOwnerId() {
+ return this.ownerId;
+ }
+
+ public void setOwnerId(Long ownerId) {
+ this.ownerId = ownerId;
+ if(ownerId != null){
+ putQueryParameter("OwnerId", ownerId.toString());
+ }
+ }
+
+ public String getVSwitchId() {
+ return this.vSwitchId;
+ }
+
+ public void setVSwitchId(String vSwitchId) {
+ this.vSwitchId = vSwitchId;
+ if(vSwitchId != null){
+ putQueryParameter("VSwitchId", vSwitchId);
+ }
+ }
+
+ public String getSpotStrategy() {
+ return this.spotStrategy;
+ }
+
+ public void setSpotStrategy(String spotStrategy) {
+ this.spotStrategy = spotStrategy;
+ if(spotStrategy != null){
+ putQueryParameter("SpotStrategy", spotStrategy);
+ }
+ }
+
+ public String getPrivateIpAddress() {
+ return this.privateIpAddress;
+ }
+
+ public void setPrivateIpAddress(String privateIpAddress) {
+ this.privateIpAddress = privateIpAddress;
+ if(privateIpAddress != null){
+ putQueryParameter("PrivateIpAddress", privateIpAddress);
+ }
+ }
+
+ public Boolean getSystemDiskBurstingEnabled() {
+ return this.systemDiskBurstingEnabled;
+ }
+
+ public void setSystemDiskBurstingEnabled(Boolean systemDiskBurstingEnabled) {
+ this.systemDiskBurstingEnabled = systemDiskBurstingEnabled;
+ if(systemDiskBurstingEnabled != null){
+ putQueryParameter("SystemDisk.BurstingEnabled", systemDiskBurstingEnabled.toString());
+ }
+ }
+
+ public String getInstanceName() {
+ return this.instanceName;
+ }
+
+ public void setInstanceName(String instanceName) {
+ this.instanceName = instanceName;
+ if(instanceName != null){
+ putQueryParameter("InstanceName", instanceName);
+ }
+ }
+
+ public String getInternetChargeType() {
+ return this.internetChargeType;
+ }
+
+ public void setInternetChargeType(String internetChargeType) {
+ this.internetChargeType = internetChargeType;
+ if(internetChargeType != null){
+ putQueryParameter("InternetChargeType", internetChargeType);
+ }
+ }
+
+ public String getZoneId() {
+ return this.zoneId;
+ }
+
+ public void setZoneId(String zoneId) {
+ this.zoneId = zoneId;
+ if(zoneId != null){
+ putQueryParameter("ZoneId", zoneId);
+ }
+ }
+
+ public Integer getInternetMaxBandwidthIn() {
+ return this.internetMaxBandwidthIn;
+ }
+
+ public void setInternetMaxBandwidthIn(Integer internetMaxBandwidthIn) {
+ this.internetMaxBandwidthIn = internetMaxBandwidthIn;
+ if(internetMaxBandwidthIn != null){
+ putQueryParameter("InternetMaxBandwidthIn", internetMaxBandwidthIn.toString());
+ }
+ }
+
+ public String getVersionDescription() {
+ return this.versionDescription;
+ }
+
+ public void setVersionDescription(String versionDescription) {
+ this.versionDescription = versionDescription;
+ if(versionDescription != null){
+ putQueryParameter("VersionDescription", versionDescription);
+ }
+ }
+
+ public Boolean getSystemDiskDeleteWithInstance() {
+ return this.systemDiskDeleteWithInstance;
+ }
+
+ public void setSystemDiskDeleteWithInstance(Boolean systemDiskDeleteWithInstance) {
+ this.systemDiskDeleteWithInstance = systemDiskDeleteWithInstance;
+ if(systemDiskDeleteWithInstance != null){
+ putQueryParameter("SystemDisk.DeleteWithInstance", systemDiskDeleteWithInstance.toString());
+ }
+ }
+
+ public String getImageId() {
+ return this.imageId;
+ }
+
+ public void setImageId(String imageId) {
+ this.imageId = imageId;
+ if(imageId != null){
+ putQueryParameter("ImageId", imageId);
+ }
+ }
+
+ public String getIoOptimized() {
+ return this.ioOptimized;
+ }
+
+ public void setIoOptimized(String ioOptimized) {
+ this.ioOptimized = ioOptimized;
+ if(ioOptimized != null){
+ putQueryParameter("IoOptimized", ioOptimized);
+ }
+ }
+
+ public String getSecurityGroupId() {
+ return this.securityGroupId;
+ }
+
+ public void setSecurityGroupId(String securityGroupId) {
+ this.securityGroupId = securityGroupId;
+ if(securityGroupId != null){
+ putQueryParameter("SecurityGroupId", securityGroupId);
+ }
+ }
+
+ public Integer getInternetMaxBandwidthOut() {
+ return this.internetMaxBandwidthOut;
+ }
+
+ public void setInternetMaxBandwidthOut(Integer internetMaxBandwidthOut) {
+ this.internetMaxBandwidthOut = internetMaxBandwidthOut;
+ if(internetMaxBandwidthOut != null){
+ putQueryParameter("InternetMaxBandwidthOut", internetMaxBandwidthOut.toString());
+ }
+ }
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ if(description != null){
+ putQueryParameter("Description", description);
+ }
+ }
+
+ public String getSystemDiskCategory() {
+ return this.systemDiskCategory;
+ }
+
+ public void setSystemDiskCategory(String systemDiskCategory) {
+ this.systemDiskCategory = systemDiskCategory;
+ if(systemDiskCategory != null){
+ putQueryParameter("SystemDisk.Category", systemDiskCategory);
+ }
+ }
+
+ public String getSystemDiskPerformanceLevel() {
+ return this.systemDiskPerformanceLevel;
+ }
+
+ public void setSystemDiskPerformanceLevel(String systemDiskPerformanceLevel) {
+ this.systemDiskPerformanceLevel = systemDiskPerformanceLevel;
+ if(systemDiskPerformanceLevel != null){
+ putQueryParameter("SystemDisk.PerformanceLevel", systemDiskPerformanceLevel);
+ }
+ }
+
+ public String getUserData() {
+ return this.userData;
+ }
+
+ public void setUserData(String userData) {
+ this.userData = userData;
+ if(userData != null){
+ putQueryParameter("UserData", userData);
+ }
+ }
+
+ public Boolean getPasswordInherit() {
+ return this.passwordInherit;
+ }
+
+ public void setPasswordInherit(Boolean passwordInherit) {
+ this.passwordInherit = passwordInherit;
+ if(passwordInherit != null){
+ putQueryParameter("PasswordInherit", passwordInherit.toString());
+ }
+ }
+
+ public String getInstanceType() {
+ return this.instanceType;
+ }
+
+ public void setInstanceType(String instanceType) {
+ this.instanceType = instanceType;
+ if(instanceType != null){
+ putQueryParameter("InstanceType", instanceType);
+ }
+ }
+
+ public String getInstanceChargeType() {
+ return this.instanceChargeType;
+ }
+
+ public void setInstanceChargeType(String instanceChargeType) {
+ this.instanceChargeType = instanceChargeType;
+ if(instanceChargeType != null){
+ putQueryParameter("InstanceChargeType", instanceChargeType);
+ }
+ }
+
+ public Boolean getEnableVmOsConfig() {
+ return this.enableVmOsConfig;
+ }
+
+ public void setEnableVmOsConfig(Boolean enableVmOsConfig) {
+ this.enableVmOsConfig = enableVmOsConfig;
+ if(enableVmOsConfig != null){
+ putQueryParameter("EnableVmOsConfig", enableVmOsConfig.toString());
+ }
+ }
+
+ public String getDeploymentSetId() {
+ return this.deploymentSetId;
+ }
+
+ public void setDeploymentSetId(String deploymentSetId) {
+ this.deploymentSetId = deploymentSetId;
+ if(deploymentSetId != null){
+ putQueryParameter("DeploymentSetId", deploymentSetId);
+ }
+ }
+
+ public List