com.aliyun.sdk.service.ecs20140526.models.RunInstancesResponseBody 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 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.
*/
public Builder orderId(String orderId) {
this.orderId = orderId;
return this;
}
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The transaction price.
*/
public Builder tradePrice(Float tradePrice) {
this.tradePrice = tradePrice;
return this;
}
public RunInstancesResponseBody build() {
return new RunInstancesResponseBody(this);
}
}
public static class InstanceIdSets extends TeaModel {
@com.aliyun.core.annotation.NameInMap("InstanceIdSet")
private java.util.List < String > 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 < String > getInstanceIdSet() {
return this.instanceIdSet;
}
public static final class Builder {
private java.util.List < String > instanceIdSet;
/**
* InstanceIdSet.
*/
public Builder instanceIdSet(java.util.List < String > instanceIdSet) {
this.instanceIdSet = instanceIdSet;
return this;
}
public InstanceIdSets build() {
return new InstanceIdSets(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy