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

com.aliyun.sdk.service.ecs20140526.models.RunInstancesResponseBody 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 RunInstancesResponseBody} extends {@link TeaModel}
 *
 * 

RunInstancesResponseBody

*/ public class RunInstancesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceIdSets") private InstanceIdSets instanceIdSets; @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 RunInstancesResponseBody(Builder builder) { this.instanceIdSets = builder.instanceIdSets; this.orderId = builder.orderId; this.requestId = builder.requestId; this.tradePrice = builder.tradePrice; } public static Builder builder() { return new Builder(); } public static RunInstancesResponseBody create() { return builder().build(); } /** * @return instanceIdSets */ public InstanceIdSets getInstanceIdSets() { return this.instanceIdSets; } /** * @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 InstanceIdSets instanceIdSets; private String orderId; private String requestId; private Float tradePrice; /** *

The IDs of the instances (InstanceIdSet).

*/ public Builder instanceIdSets(InstanceIdSets instanceIdSets) { this.instanceIdSets = instanceIdSets; return this; } /** *

The ID of the order. This parameter is returned only when InstanceChargeType is set to PrePaid.

* * example: *

123456****

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

The ID of the request.

* * 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 RunInstancesResponseBody build() { return new RunInstancesResponseBody(this); } } /** * * {@link RunInstancesResponseBody} extends {@link TeaModel} * *

RunInstancesResponseBody

*/ public static class InstanceIdSets extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceIdSet") private java.util.List instanceIdSet; private InstanceIdSets(Builder builder) { this.instanceIdSet = builder.instanceIdSet; } public static Builder builder() { return new Builder(); } public static InstanceIdSets create() { return builder().build(); } /** * @return instanceIdSet */ public java.util.List getInstanceIdSet() { return this.instanceIdSet; } public static final class Builder { private java.util.List instanceIdSet; /** * InstanceIdSet. */ public Builder instanceIdSet(java.util.List instanceIdSet) { this.instanceIdSet = instanceIdSet; return this; } public InstanceIdSets build() { return new InstanceIdSets(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy