com.baidubce.services.bcc.model
Class TagModel

java.lang.Object
  extended by com.baidubce.services.bcc.model.TagModel

public class TagModel
extends Object

The detail model of the tag.


Constructor Summary
TagModel()
           
 
Method Summary
 String getTagKey()
           
 String getTagValue()
           
 void setTagKey(String tagKey)
           
 void setTagValue(String tagValue)
           
 String toString()
           
 TagModel withTagKey(String tagKey)
          Configure tagKey for the model.
 TagModel withTagValue(String tagValue)
          Configure tagValue for the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TagModel

public TagModel()
Method Detail

getTagKey

public String getTagKey()

setTagKey

public void setTagKey(String tagKey)

withTagKey

public TagModel withTagKey(String tagKey)
Configure tagKey for the model.

Parameters:
tagKey - The key of tag.
Returns:
TagModel with tagKey.

getTagValue

public String getTagValue()

setTagValue

public void setTagValue(String tagValue)

withTagValue

public TagModel withTagValue(String tagValue)
Configure tagValue for the model.

Parameters:
tagValue - The value of tag.
Returns:
TagModel with tagValue.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.