QueryLiteral
Trait that adds a static key=value
pair to a form-url encoded object
Example
This would add Action=FooOperation&Version=2015-03-31
as key/value pairs to the serialized form of the object
val OBJ_DESCRIPTOR = SdkObjectDescriptor.build {
trait(QueryLiteral("Action", "FooOperation")
trait(QueryLiteral("Version", "2015-03-31")
}
Content copied to clipboard