com.baidubce.services.moladb.model
Class DeleteInstanceRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.moladb.model.DeleteInstanceRequest

public class DeleteInstanceRequest
extends AbstractBceRequest

Represents the input of a DeleteInstance operation.


Constructor Summary
DeleteInstanceRequest()
          Constructs a new DeleteInstanceRequest object.
DeleteInstanceRequest(String instanceName)
          Constructs a new DeleteInstanceRequest object.
 
Method Summary
 String getInstanceName()
          Get the name of the instance to be deleted.
 void setInstanceName(String instanceName)
          Set the name of the instance to be deleted.
 DeleteInstanceRequest withInstanceName(String instanceName)
          Set the name of the instance to be deleted.
 DeleteInstanceRequest withRequestCredentials(BceCredentials credentials)
           
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.

Parameters:
instanceName - The name of the instance to be deleted.
Method Detail

withInstanceName

public DeleteInstanceRequest withInstanceName(String instanceName)
Set the name of the instance to be deleted.

Parameters:
instanceName - The name of the instance to be deleted.
Returns:
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.

Parameters:
instanceName - The name of the instance to be deleted.

getInstanceName

public String getInstanceName()
Get the name of the instance to be deleted.

Returns:
The name of the instance to be deleted.

withRequestCredentials

public DeleteInstanceRequest withRequestCredentials(BceCredentials credentials)
Specified by:
withRequestCredentials in class AbstractBceRequest


Copyright © 2018. All rights reserved.