@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddAttributesActivity extends Object implements Serializable, Cloneable, StructuredPojo
An activity that adds other attributes based on existing attributes in the message.
Constructor and Description |
---|
AddAttributesActivity() |
Modifier and Type | Method and Description |
---|---|
AddAttributesActivity |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
AddAttributesActivity |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
AddAttributesActivity |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
A list of 1-50
AttributeNameMapping objects that map an existing attribute to a new attribute. |
String |
getName()
The name of the addAttributes activity.
|
String |
getNext()
The next activity in the pipeline.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Map<String,String> attributes)
A list of 1-50
AttributeNameMapping objects that map an existing attribute to a new attribute. |
void |
setName(String name)
The name of the addAttributes activity.
|
void |
setNext(String next)
The next activity in the pipeline.
|
String |
toString()
Returns a string representation of this object.
|
AddAttributesActivity |
withAttributes(Map<String,String> attributes)
A list of 1-50
AttributeNameMapping objects that map an existing attribute to a new attribute. |
AddAttributesActivity |
withName(String name)
The name of the addAttributes activity.
|
AddAttributesActivity |
withNext(String next)
The next activity in the pipeline.
|
public void setName(String name)
The name of the addAttributes activity.
name
- The name of the addAttributes activity.public String getName()
The name of the addAttributes activity.
public AddAttributesActivity withName(String name)
The name of the addAttributes activity.
name
- The name of the addAttributes activity.public Map<String,String> getAttributes()
A list of 1-50 AttributeNameMapping
objects that map an existing attribute to a new attribute.
The existing attributes remain in the message, so if you want to remove the originals, use
RemoveAttributeActivity
.
AttributeNameMapping
objects that map an existing attribute to a new
attribute.
The existing attributes remain in the message, so if you want to remove the originals, use
RemoveAttributeActivity
.
public void setAttributes(Map<String,String> attributes)
A list of 1-50 AttributeNameMapping
objects that map an existing attribute to a new attribute.
The existing attributes remain in the message, so if you want to remove the originals, use
RemoveAttributeActivity
.
attributes
- A list of 1-50 AttributeNameMapping
objects that map an existing attribute to a new
attribute.
The existing attributes remain in the message, so if you want to remove the originals, use
RemoveAttributeActivity
.
public AddAttributesActivity withAttributes(Map<String,String> attributes)
A list of 1-50 AttributeNameMapping
objects that map an existing attribute to a new attribute.
The existing attributes remain in the message, so if you want to remove the originals, use
RemoveAttributeActivity
.
attributes
- A list of 1-50 AttributeNameMapping
objects that map an existing attribute to a new
attribute.
The existing attributes remain in the message, so if you want to remove the originals, use
RemoveAttributeActivity
.
public AddAttributesActivity addAttributesEntry(String key, String value)
public AddAttributesActivity clearAttributesEntries()
public void setNext(String next)
The next activity in the pipeline.
next
- The next activity in the pipeline.public String getNext()
The next activity in the pipeline.
public AddAttributesActivity withNext(String next)
The next activity in the pipeline.
next
- The next activity in the pipeline.public String toString()
toString
in class Object
Object.toString()
public AddAttributesActivity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.