@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Action extends Object implements Serializable, Cloneable, StructuredPojo
Represents action metadata added to an Action dataset using the PutActions
API. For more information see
Importing actions
individually.
Constructor and Description |
---|
Action() |
Modifier and Type | Method and Description |
---|---|
Action |
clone() |
boolean |
equals(Object obj) |
String |
getActionId()
The ID associated with the action.
|
String |
getProperties()
A string map of action-specific metadata.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionId(String actionId)
The ID associated with the action.
|
void |
setProperties(String properties)
A string map of action-specific metadata.
|
String |
toString()
Returns a string representation of this object.
|
Action |
withActionId(String actionId)
The ID associated with the action.
|
Action |
withProperties(String properties)
A string map of action-specific metadata.
|
public void setActionId(String actionId)
The ID associated with the action.
actionId
- The ID associated with the action.public String getActionId()
The ID associated with the action.
public Action withActionId(String actionId)
The ID associated with the action.
actionId
- The ID associated with the action.public void setProperties(String properties)
A string map of action-specific metadata. Each element in the map consists of a key-value pair. For example,
{"value": "100"}
.
The keys use camel case names that match the fields in the schema for the Actions dataset. In the previous
example, the value
matches the 'VALUE' field defined in the Actions schema. For categorical string
data, to include multiple categories for a single action, separate each category with a pipe separator (
|
). For example, \"Deluxe|Premium\"
.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
properties
- A string map of action-specific metadata. Each element in the map consists of a key-value pair. For
example, {"value": "100"}
.
The keys use camel case names that match the fields in the schema for the Actions dataset. In the previous
example, the value
matches the 'VALUE' field defined in the Actions schema. For categorical
string data, to include multiple categories for a single action, separate each category with a pipe
separator (|
). For example, \"Deluxe|Premium\"
.
public String getProperties()
A string map of action-specific metadata. Each element in the map consists of a key-value pair. For example,
{"value": "100"}
.
The keys use camel case names that match the fields in the schema for the Actions dataset. In the previous
example, the value
matches the 'VALUE' field defined in the Actions schema. For categorical string
data, to include multiple categories for a single action, separate each category with a pipe separator (
|
). For example, \"Deluxe|Premium\"
.
This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
{"value": "100"}
.
The keys use camel case names that match the fields in the schema for the Actions dataset. In the
previous example, the value
matches the 'VALUE' field defined in the Actions schema. For
categorical string data, to include multiple categories for a single action, separate each category with
a pipe separator (|
). For example, \"Deluxe|Premium\"
.
public Action withProperties(String properties)
A string map of action-specific metadata. Each element in the map consists of a key-value pair. For example,
{"value": "100"}
.
The keys use camel case names that match the fields in the schema for the Actions dataset. In the previous
example, the value
matches the 'VALUE' field defined in the Actions schema. For categorical string
data, to include multiple categories for a single action, separate each category with a pipe separator (
|
). For example, \"Deluxe|Premium\"
.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
properties
- A string map of action-specific metadata. Each element in the map consists of a key-value pair. For
example, {"value": "100"}
.
The keys use camel case names that match the fields in the schema for the Actions dataset. In the previous
example, the value
matches the 'VALUE' field defined in the Actions schema. For categorical
string data, to include multiple categories for a single action, separate each category with a pipe
separator (|
). For example, \"Deluxe|Premium\"
.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.