com.aliyun.sdk.service.ecs20140526.models.CreateInstanceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateInstanceResponseBody} extends {@link TeaModel}
*
* CreateInstanceResponseBody
*/
public class CreateInstanceResponseBody extends TeaModel {
@NameInMap("InstanceId")
private String instanceId;
@NameInMap("OrderId")
private String orderId;
@NameInMap("RequestId")
private String requestId;
@NameInMap("TradePrice")
private Float tradePrice;
private CreateInstanceResponseBody(Builder builder) {
this.instanceId = builder.instanceId;
this.orderId = builder.orderId;
this.requestId = builder.requestId;
this.tradePrice = builder.tradePrice;
}
public static Builder builder() {
return new Builder();
}
public static CreateInstanceResponseBody create() {
return builder().build();
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return orderId
*/
public String getOrderId() {
return this.orderId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return tradePrice
*/
public Float getTradePrice() {
return this.tradePrice;
}
public static final class Builder {
private String instanceId;
private String orderId;
private String requestId;
private Float tradePrice;
/**
* The instance ID.
*/
public Builder instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* The order ID. This parameter is returned only if `InstanceChargeType` is set to PrePaid.
*/
public Builder orderId(String orderId) {
this.orderId = orderId;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The transaction price.
*/
public Builder tradePrice(Float tradePrice) {
this.tradePrice = tradePrice;
return this;
}
public CreateInstanceResponseBody build() {
return new CreateInstanceResponseBody(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy