com.baidubce.services.bcc.model.instance
Class BindTagsRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.bcc.model.instance.BindTagsRequest
public class BindTagsRequest
- extends AbstractBceRequest
request for binding tags to specified instance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BindTagsRequest
public BindTagsRequest()
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.