com.aliyun.sdk.service.ecs20140526.models.ModifyReservedInstanceAttributeResponseBody 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 ModifyReservedInstanceAttributeResponseBody} extends {@link TeaModel}
*
* ModifyReservedInstanceAttributeResponseBody
*/
public class ModifyReservedInstanceAttributeResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private String code;
@com.aliyun.core.annotation.NameInMap("HttpStatusCode")
private Integer httpStatusCode;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.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.
*
* example:
* 200
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* The ID of the request.
*
* example:
* 200
*/
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.
*
* example:
* Success
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* The ID of the request.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ModifyReservedInstanceAttributeResponseBody build() {
return new ModifyReservedInstanceAttributeResponseBody(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy