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

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

public class BindTagsRequest
extends AbstractBceRequest

request for binding tags to specified instance.


Constructor Summary
BindTagsRequest()
           
 
Method Summary
 List<TagModel> getChangeTags()
           
 String getInstanceId()
           
 void setChangeTags(List<TagModel> changeTags)
           
 void setInstanceId(String instanceId)
           
 BindTagsRequest withChangeTags(List<TagModel> changeTags)
          Configure the list of tags for the request.
 BindTagsRequest withInstanceId(String instanceId)
          Configure the instance ID for the request.
 BindTagsRequest 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

BindTagsRequest

public BindTagsRequest()
Method Detail

getInstanceId

public String getInstanceId()

setInstanceId

public void setInstanceId(String instanceId)

getChangeTags

public List<TagModel> getChangeTags()

setChangeTags

public void setChangeTags(List<TagModel> changeTags)

withChangeTags

public BindTagsRequest withChangeTags(List<TagModel> changeTags)
Configure the list of tags for the request.

Parameters:
changeTags - The list of tags.
Returns:
BindTagsRequest with specified list of tags.

withInstanceId

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

Parameters:
instanceId - The id of instance which will be used to bind a list of tags.
Returns:
BindTagsRequest with specified instance id.

withRequestCredentials

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

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


Copyright © 2018. All rights reserved.