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

com.aliyun.sdk.service.ecs20140526.models.CreateInstanceResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.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 CreateInstanceResponseBody} extends {@link TeaModel}
 *
 * 

CreateInstanceResponseBody

*/ public class CreateInstanceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("OrderId") private String orderId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.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.

* * example: *

i-bp67acfmxazb4p****

*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** *

The order ID. This parameter is returned only if InstanceChargeType is set to PrePaid.

* * example: *

1234567890

*/ public Builder orderId(String orderId) { this.orderId = orderId; return this; } /** *

The request ID.

* * example: *

473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The transaction price.

* * example: *

0.165

*/ public Builder tradePrice(Float tradePrice) { this.tradePrice = tradePrice; return this; } public CreateInstanceResponseBody build() { return new CreateInstanceResponseBody(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy