![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.rds20140815.models.DeleteSlotRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class DeleteSlotRequest extends TeaModel {
/**
* The client token that is used to ensure the idempotence of the request.
* You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
*
* example:
* ETnLKlblzczshOTUbOC****
*/
@NameInMap("ClientToken")
public String clientToken;
/**
* The instance ID. You can call the DescribeDBInstances operation to query the instance ID.
* This parameter is required.
*
* example:
* pgm-bp102g323jd4****
*/
@NameInMap("DBInstanceId")
public String DBInstanceId;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public Long ownerId;
/**
* The ID of the resource group. You can leave this parameter empty.
*
* example:
* rg-acfmy*****
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
/**
* The name of the replication slot. You can call the DescribeSlots operation to query the name of the replication slot.
* This parameter is required.
*
* example:
* slot_test01
*/
@NameInMap("SlotName")
public String slotName;
/**
* The status of the replication slot. You can call the DescribeSlots operation to query the status of the replication slot. Valid values:
*
* - ACTIVE
* - INACTIVE
*
* This parameter is required.
*
* example:
* INACTIVE
*/
@NameInMap("SlotStatus")
public String slotStatus;
public static DeleteSlotRequest build(java.util.Map map) throws Exception {
DeleteSlotRequest self = new DeleteSlotRequest();
return TeaModel.build(map, self);
}
public DeleteSlotRequest setClientToken(String clientToken) {
this.clientToken = clientToken;
return this;
}
public String getClientToken() {
return this.clientToken;
}
public DeleteSlotRequest setDBInstanceId(String DBInstanceId) {
this.DBInstanceId = DBInstanceId;
return this;
}
public String getDBInstanceId() {
return this.DBInstanceId;
}
public DeleteSlotRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public DeleteSlotRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public DeleteSlotRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public DeleteSlotRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public DeleteSlotRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public DeleteSlotRequest setSlotName(String slotName) {
this.slotName = slotName;
return this;
}
public String getSlotName() {
return this.slotName;
}
public DeleteSlotRequest setSlotStatus(String slotStatus) {
this.slotStatus = slotStatus;
return this;
}
public String getSlotStatus() {
return this.slotStatus;
}
}