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

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

PurchaseReservedInstancesOfferingResponseBody

*/ public class PurchaseReservedInstancesOfferingResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("ReservedInstanceIdSets") private ReservedInstanceIdSets reservedInstanceIdSets; private PurchaseReservedInstancesOfferingResponseBody(Builder builder) { this.requestId = builder.requestId; this.reservedInstanceIdSets = builder.reservedInstanceIdSets; } public static Builder builder() { return new Builder(); } public static PurchaseReservedInstancesOfferingResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return reservedInstanceIdSets */ public ReservedInstanceIdSets getReservedInstanceIdSets() { return this.reservedInstanceIdSets; } public static final class Builder { private String requestId; private ReservedInstanceIdSets reservedInstanceIdSets; /** *

The request ID.

* * example: *

8C314443-AF0D-4766-9562-C83B7F1A3C8B

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

The IDs of the reserved instances.

*/ public Builder reservedInstanceIdSets(ReservedInstanceIdSets reservedInstanceIdSets) { this.reservedInstanceIdSets = reservedInstanceIdSets; return this; } public PurchaseReservedInstancesOfferingResponseBody build() { return new PurchaseReservedInstancesOfferingResponseBody(this); } } /** * * {@link PurchaseReservedInstancesOfferingResponseBody} extends {@link TeaModel} * *

PurchaseReservedInstancesOfferingResponseBody

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy