class
Amazonite::Kinesis::Tag
- Amazonite::Kinesis::Tag
- Reference
- Object
Overview
Metadata assigned to the stream or consumer, consisting of a key-value pair.
Included Modules
- JSON::Serializable
Defined in:
kinesis/tag.crConstructors
- .new(pull : JSON::PullParser)
- .new(key : String, value : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#key : String
A unique identifier for the tag.
-
#key=(key : String)
A unique identifier for the tag.
- #validate! : Nil
-
#value : String | Nil
An optional string, typically used to describe or define the tag.
-
#value=(value : String | Nil)
An optional string, typically used to describe or define the tag.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
A unique identifier for the tag. Maximum length: 128 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @
A unique identifier for the tag. Maximum length: 128 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @
An optional string, typically used to describe or define the tag. Maximum length: 256 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @
An optional string, typically used to describe or define the tag. Maximum length: 256 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @