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

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

There is a newer version: 5.0.29
Show newest version
// 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 DescribeSpotPriceHistoryResponse} extends {@link TeaModel}
 *
 * 

DescribeSpotPriceHistoryResponse

*/ public class DescribeSpotPriceHistoryResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map < String, String > headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeSpotPriceHistoryResponseBody body; private DescribeSpotPriceHistoryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeSpotPriceHistoryResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map < String, String > getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeSpotPriceHistoryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeSpotPriceHistoryResponseBody body); @Override DescribeSpotPriceHistoryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeSpotPriceHistoryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeSpotPriceHistoryResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map < String, String > headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeSpotPriceHistoryResponseBody body) { this.body = body; return this; } @Override public DescribeSpotPriceHistoryResponse build() { return new DescribeSpotPriceHistoryResponse(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy