|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.cloudformation.model.Tag
public class Tag
The Tag type is used by CreateStack in the Tags parameter. It allows you to specify a key/value pair that can be used to
store information related to cost allocation for an AWS CloudFormation stack.
| Constructor Summary | |
|---|---|
Tag()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getKey()
Required. |
String |
getValue()
Required. |
int |
hashCode()
|
void |
setKey(String key)
Required. |
void |
setValue(String value)
Required. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Tag |
withKey(String key)
Required. |
Tag |
withValue(String value)
Required. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Tag()
| Method Detail |
|---|
public String getKey()
aws:.
aws:.public void setKey(String key)
aws:.
key - Required. A string used to identify this tag. You can specify a
maximum of 128 characters for a tag key. Tags owned by Amazon Web
Services (AWS) have the reserved prefix: aws:.public Tag withKey(String key)
aws:.
Returns a reference to this object so that method calls can be chained together.
key - Required. A string used to identify this tag. You can specify a
maximum of 128 characters for a tag key. Tags owned by Amazon Web
Services (AWS) have the reserved prefix: aws:.
public String getValue()
public void setValue(String value)
value - Required. A string containing the value for this tag. You can
specify a maximum of 256 characters for a tag value.public Tag withValue(String value)
Returns a reference to this object so that method calls can be chained together.
value - Required. A string containing the value for this tag. You can
specify a maximum of 256 characters for a tag value.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||