类 DeleteInstanceRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.moladb.model.DeleteInstanceRequest
-
public class DeleteInstanceRequest extends AbstractBceRequest
Represents the input of a DeleteInstance operation.
-
-
构造器概要
构造器 构造器 说明 DeleteInstanceRequest()Constructs a new DeleteInstanceRequest object.DeleteInstanceRequest(String instanceName)Constructs a new DeleteInstanceRequest object.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetInstanceName()Get the name of the instance to be deleted.voidsetInstanceName(String instanceName)Set the name of the instance to be deleted.DeleteInstanceRequestwithInstanceName(String instanceName)Set the name of the instance to be deleted.DeleteInstanceRequestwithRequestCredentials(BceCredentials credentials)-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
构造器详细资料
-
DeleteInstanceRequest
public DeleteInstanceRequest()
Constructs a new DeleteInstanceRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
-
DeleteInstanceRequest
public DeleteInstanceRequest(String instanceName)
Constructs a new DeleteInstanceRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- 参数:
instanceName- The name of the instance to be deleted.
-
-
方法详细资料
-
withInstanceName
public DeleteInstanceRequest withInstanceName(String instanceName)
Set the name of the instance to be deleted.- 参数:
instanceName- The name of the instance to be deleted.- 返回:
- Returns a reference to the object so that method calls can be chained together.
-
setInstanceName
public void setInstanceName(String instanceName)
Set the name of the instance to be deleted.- 参数:
instanceName- The name of the instance to be deleted.
-
getInstanceName
public String getInstanceName()
Get the name of the instance to be deleted.- 返回:
- The name of the instance to be deleted.
-
withRequestCredentials
public DeleteInstanceRequest withRequestCredentials(BceCredentials credentials)
- 指定者:
withRequestCredentials在类中AbstractBceRequest
-
-