com.aliyun.sdk.service.ens20171110.models.ReleasePostPaidInstanceRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ReleasePostPaidInstanceRequest} extends {@link RequestModel}
*
* ReleasePostPaidInstanceRequest
*/
public class ReleasePostPaidInstanceRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
private ReleasePostPaidInstanceRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static ReleasePostPaidInstanceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder extends Request.Builder {
private String instanceId;
private Builder() {
super();
}
private Builder(ReleasePostPaidInstanceRequest request) {
super(request);
this.instanceId = request.instanceId;
}
/**
* The ID of the instance to be deleted. You can specify only one instance ID.
* This parameter is required.
*
* example:
* i-instance****
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
@Override
public ReleasePostPaidInstanceRequest build() {
return new ReleasePostPaidInstanceRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy