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

com.aliyun.sdk.service.cloudapi20160714.models.DeleteInstanceRequest Maven / Gradle / Ivy

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

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

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

DeleteInstanceRequest

*/ public class DeleteInstanceRequest extends Request { @Query @NameInMap("InstanceId") @Validation(required = true) private String instanceId; @Query @NameInMap("Tag") private java.util.List < Tag> tag; private DeleteInstanceRequest(Builder builder) { super(builder); this.instanceId = builder.instanceId; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static DeleteInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return tag */ public java.util.List < Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder { private String instanceId; private java.util.List < Tag> tag; private Builder() { super(); } private Builder(DeleteInstanceRequest request) { super(request); this.instanceId = request.instanceId; this.tag = request.tag; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * Tag. */ public Builder tag(java.util.List < Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public DeleteInstanceRequest build() { return new DeleteInstanceRequest(this); } } public static class Tag extends TeaModel { @NameInMap("Key") @Validation(required = true) private String key; @NameInMap("Value") @Validation(required = true) private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy