com.aliyun.rds20140815.models.ModifyDBInstanceEndpointAddressResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rds20140815 Show documentation
Show all versions of rds20140815 Show documentation
Alibaba Cloud rds (20140815) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class ModifyDBInstanceEndpointAddressResponseBody extends TeaModel {
/**
* The data returned.
*/
@NameInMap("Data")
public ModifyDBInstanceEndpointAddressResponseBodyData data;
/**
* The ID of the request.
*
* example:
* 90496720-2319-42A8-87CD-FCE4DF95EBED
*/
@NameInMap("RequestId")
public String requestId;
public static ModifyDBInstanceEndpointAddressResponseBody build(java.util.Map map) throws Exception {
ModifyDBInstanceEndpointAddressResponseBody self = new ModifyDBInstanceEndpointAddressResponseBody();
return TeaModel.build(map, self);
}
public ModifyDBInstanceEndpointAddressResponseBody setData(ModifyDBInstanceEndpointAddressResponseBodyData data) {
this.data = data;
return this;
}
public ModifyDBInstanceEndpointAddressResponseBodyData getData() {
return this.data;
}
public ModifyDBInstanceEndpointAddressResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class ModifyDBInstanceEndpointAddressResponseBodyData extends TeaModel {
/**
* The endpoint ID of the instance.
*
* example:
* ep-****
*/
@NameInMap("DBInstanceEndpointId")
public String DBInstanceEndpointId;
/**
* The ID of the instance.
*
* example:
* rm-****
*/
@NameInMap("DBInstanceName")
public String DBInstanceName;
public static ModifyDBInstanceEndpointAddressResponseBodyData build(java.util.Map map) throws Exception {
ModifyDBInstanceEndpointAddressResponseBodyData self = new ModifyDBInstanceEndpointAddressResponseBodyData();
return TeaModel.build(map, self);
}
public ModifyDBInstanceEndpointAddressResponseBodyData setDBInstanceEndpointId(String DBInstanceEndpointId) {
this.DBInstanceEndpointId = DBInstanceEndpointId;
return this;
}
public String getDBInstanceEndpointId() {
return this.DBInstanceEndpointId;
}
public ModifyDBInstanceEndpointAddressResponseBodyData setDBInstanceName(String DBInstanceName) {
this.DBInstanceName = DBInstanceName;
return this;
}
public String getDBInstanceName() {
return this.DBInstanceName;
}
}
}