![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.sdk.service.edas20170801.models.SynchronizeResourceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-edas20170801 Show documentation
Show all versions of alibabacloud-edas20170801 Show documentation
Alibaba Cloud Edas (20170801) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.edas20170801.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SynchronizeResourceResponseBody} extends {@link TeaModel}
*
* SynchronizeResourceResponseBody
*/
public class SynchronizeResourceResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private String data;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private SynchronizeResourceResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static SynchronizeResourceResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer 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;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private String data;
private String message;
private String requestId;
private Boolean success;
/**
* The HTTP status code that is returned.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* The data returned for the request.
*/
public Builder data(String data) {
this.data = data;
return this;
}
/**
* The message that is returned.
*/
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;
}
/**
* Indicates whether the resources are synchronized. Valid values:
*
*
* * **true**: The resources are synchronized.
* * **false**: The resources fail to be synchronized.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public SynchronizeResourceResponseBody build() {
return new SynchronizeResourceResponseBody(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy