com.aliyun.sdk.service.bpstudio20210931.models.ChangeResourceGroupResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-bpstudio20210931 Show documentation
Show all versions of alibabacloud-bpstudio20210931 Show documentation
Alibaba Cloud BPStudio (20210931) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.bpstudio20210931.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ChangeResourceGroupResponseBody} extends {@link TeaModel}
*
* ChangeResourceGroupResponseBody
*/
public class ChangeResourceGroupResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Long code;
@com.aliyun.core.annotation.NameInMap("Data")
private String data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ChangeResourceGroupResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ChangeResourceGroupResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Long getCode() {
return this.code;
}
/**
* @return data
*/
public String getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Long code;
private String data;
private String message;
private String requestId;
/**
* The HTTP status code. A value of 200 indicates that the request is successful. Other values indicate that the request failed.
*/
public Builder code(Long code) {
this.code = code;
return this;
}
/**
* No business data is returned for this parameter.
*/
public Builder data(String data) {
this.data = data;
return this;
}
/**
* The error message returned if the request failed.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ChangeResourceGroupResponseBody build() {
return new ChangeResourceGroupResponseBody(this);
}
}
}