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

com.aliyun.sdk.service.ecs20140526.models.ModifyReservedInstanceAttributeResponseBody 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 com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link ModifyReservedInstanceAttributeResponseBody} extends {@link TeaModel}
 *
 * 

ModifyReservedInstanceAttributeResponseBody

*/ public class ModifyReservedInstanceAttributeResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("HttpStatusCode") private Integer httpStatusCode; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; private ModifyReservedInstanceAttributeResponseBody(Builder builder) { this.code = builder.code; this.httpStatusCode = builder.httpStatusCode; this.message = builder.message; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ModifyReservedInstanceAttributeResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return httpStatusCode */ public Integer getHttpStatusCode() { return this.httpStatusCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String code; private Integer httpStatusCode; private String message; private String requestId; /** * Modifies the attributes of a reserved instance, such as its name and description. */ public Builder code(String code) { this.code = code; return this; } /** * The ID of the request. */ public Builder httpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } /** * The error message for this instance operation. The return value Success indicates that this operation is successful. For more information, see the "Error codes" section in this topic. */ public Builder message(String message) { this.message = message; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ModifyReservedInstanceAttributeResponseBody build() { return new ModifyReservedInstanceAttributeResponseBody(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy