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

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

public class GetInstanceVncRequest
extends AbstractBceRequest

The request for getting the instance vnc url.


Constructor Summary
GetInstanceVncRequest()
           
 
Method Summary
 String getInstanceId()
           
 void setInstanceId(String instanceId)
           
 GetInstanceVncRequest withInstanceId(String instanceId)
          Configure request instanceId for the request.
 GetInstanceVncRequest 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

GetInstanceVncRequest

public GetInstanceVncRequest()
Method Detail

getInstanceId

public String getInstanceId()

setInstanceId

public void setInstanceId(String instanceId)

withInstanceId

public GetInstanceVncRequest withInstanceId(String instanceId)
Configure request instanceId for the request.

Parameters:
instanceId - The id of the instance.
Returns:
GetInstanceVncRequest with specified instanceId.

withRequestCredentials

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

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


Copyright © 2018. All rights reserved.