|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.AbstractBceClient
com.baidubce.services.tag.TagClient
public class TagClient
Provides the client for accessing the tag service.
Field Summary |
---|
Fields inherited from class com.baidubce.AbstractBceClient |
---|
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX |
Constructor Summary | |
---|---|
TagClient()
Constructs a new client to invoke service methods on tag. |
|
TagClient(BceClientConfiguration clientConfiguration)
Constructs a new tag client using the client configuration to access tag. |
Method Summary | |
---|---|
void |
createTags(CreateTagsRequest request)
Create tags. |
void |
createTags(List<Tag> tags)
Create tags. |
void |
deleteTags(DeleteTagsRequest request)
Delete tags. |
void |
deleteTags(List<Tag> tags)
Delete tags. |
ListTagResourcesResponse |
listTagResources()
Listing all tag resources. |
ListTagResourcesResponse |
listTagResources(ListTagResourcesRequest request)
Listing tag resources. |
ListTagResourcesResponse |
listTagResources(String tagKey,
String tagValue)
Listing tag resources. |
ListTagsResponse |
listTags()
Listing all tags. |
ListTagsResponse |
listTags(ListTagsRequest request)
Listing tags. |
ListTagsResponse |
listTags(String tagKey)
Listing tags. |
ListTagsResponse |
listTags(String tagKey,
String tagValue)
Listing tags. |
Methods inherited from class com.baidubce.AbstractBceClient |
---|
getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TagClient()
public TagClient(BceClientConfiguration clientConfiguration)
clientConfiguration
- The tag client configuration options controlling how this client
connects to tag service(e.g. proxy settings, retry counts, etc).Method Detail |
---|
public void createTags(List<Tag> tags)
tags
- List of tag to be created.
BceClientException
public void createTags(CreateTagsRequest request)
request
- The request containing all options for creating the tags.
BceClientException
public ListTagsResponse listTags()
BceClientException
public ListTagsResponse listTags(String tagKey)
tagKey
- Filtered by tag key
BceClientException
public ListTagsResponse listTags(String tagKey, String tagValue)
tagKey
- Filtered by tag key, set value to null
if you only want to filtered by tag valuetagValue
- Filtered by tag value
BceClientException
public ListTagsResponse listTags(ListTagsRequest request)
request
- The request containing all options for listing the tags.
BceClientException
public void deleteTags(List<Tag> tags)
tags
- List of tag to be deleted.
BceClientException
public void deleteTags(DeleteTagsRequest request)
request
- The request containing all options for deleting the tags.
BceClientException
public ListTagResourcesResponse listTagResources()
BceClientException
public ListTagResourcesResponse listTagResources(String tagKey, String tagValue)
listTagResources(ListTagResourcesRequest)
method
tagKey
- Filtered by tag key, set value to null
if you only want to filtered by tag valuetagValue
- Filtered by tag value
BceClientException
public ListTagResourcesResponse listTagResources(ListTagResourcesRequest request)
request
- The request containing all options for listing the tag resources.
BceClientException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |