com.baidubce.services.bcc.model.instance
Class ReleaseInstanceRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.bcc.model.instance.ReleaseInstanceRequest

public class ReleaseInstanceRequest
extends AbstractBceRequest

The request for releasing instance


Constructor Summary
ReleaseInstanceRequest()
           
 
Method Summary
 String getInstanceId()
           
 void setInstanceId(String instanceId)
           
 ReleaseInstanceRequest withInstanceId(String instanceId)
          Configure the instance ID for the request.
 ReleaseInstanceRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 
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

ReleaseInstanceRequest

public ReleaseInstanceRequest()
Method Detail

getInstanceId

public String getInstanceId()

setInstanceId

public void setInstanceId(String instanceId)

withInstanceId

public ReleaseInstanceRequest withInstanceId(String instanceId)
Configure the instance ID for the request.

Parameters:
instanceId - The identified of the instance.
Returns:
ReleaseInstanceRequest with specified instanceId.

withRequestCredentials

public ReleaseInstanceRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - a valid instance of BceCredentials.
Returns:
ReleaseInstanceRequest with credentials.


Copyright © 2018. All rights reserved.