You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudDirectory::Types::TypedAttributeValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudDirectory::Types::TypedAttributeValue
- Defined in:
- (unknown)
Overview
Note:
When passing TypedAttributeValue as input to an Aws::Client method, you can use a vanilla Hash:
{
string_value: "StringAttributeValue",
binary_value: "data",
boolean_value: false,
number_value: "NumberAttributeValue",
datetime_value: Time.now,
}
Represents the data for a typed attribute. You can set one, and only one, of the elements. Each attribute in an item is a name-value pair. Attributes have a single value.
Returned by:
- AttributeKeyAndValue#value
- AttributeNameAndValue#value
- FacetAttributeDefinition#default_value
- LinkAttributeAction#attribute_update_value
- ObjectAttributeAction#object_attribute_update_value
- Aws::CloudDirectory::Types::TypedAttributeValueRange#start_value
- Aws::CloudDirectory::Types::TypedAttributeValueRange#end_value
- Aws::CloudDirectory::Types::TypedLinkAttributeDefinition#default_value
Instance Attribute Summary collapse
-
#binary_value ⇒ String
A binary data value.
-
#boolean_value ⇒ Boolean
A Boolean data value.
-
#datetime_value ⇒ Time
A date and time value.
-
#number_value ⇒ String
A number data value.
-
#string_value ⇒ String
A string data value.
Instance Attribute Details
#binary_value ⇒ String
A binary data value.
#boolean_value ⇒ Boolean
A Boolean data value.
#datetime_value ⇒ Time
A date and time value.
#number_value ⇒ String
A number data value.
#string_value ⇒ String
A string data value.