@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemoveAttributesActivity extends Object implements Serializable, Cloneable, StructuredPojo
An activity that removes attributes from a message.
| Constructor and Description |
|---|
RemoveAttributesActivity() |
| Modifier and Type | Method and Description |
|---|---|
RemoveAttributesActivity |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAttributes()
A list of 1-50 attributes to remove from the message.
|
String |
getName()
The name of the
removeAttributes 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(Collection<String> attributes)
A list of 1-50 attributes to remove from the message.
|
void |
setName(String name)
The name of the
removeAttributes activity. |
void |
setNext(String next)
The next activity in the pipeline.
|
String |
toString()
Returns a string representation of this object.
|
RemoveAttributesActivity |
withAttributes(Collection<String> attributes)
A list of 1-50 attributes to remove from the message.
|
RemoveAttributesActivity |
withAttributes(String... attributes)
A list of 1-50 attributes to remove from the message.
|
RemoveAttributesActivity |
withName(String name)
The name of the
removeAttributes activity. |
RemoveAttributesActivity |
withNext(String next)
The next activity in the pipeline.
|
public void setName(String name)
The name of the removeAttributes activity.
name - The name of the removeAttributes activity.public String getName()
The name of the removeAttributes activity.
removeAttributes activity.public RemoveAttributesActivity withName(String name)
The name of the removeAttributes activity.
name - The name of the removeAttributes activity.public List<String> getAttributes()
A list of 1-50 attributes to remove from the message.
public void setAttributes(Collection<String> attributes)
A list of 1-50 attributes to remove from the message.
attributes - A list of 1-50 attributes to remove from the message.public RemoveAttributesActivity withAttributes(String... attributes)
A list of 1-50 attributes to remove from the message.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection) or withAttributes(java.util.Collection) if you want to
override the existing values.
attributes - A list of 1-50 attributes to remove from the message.public RemoveAttributesActivity withAttributes(Collection<String> attributes)
A list of 1-50 attributes to remove from the message.
attributes - A list of 1-50 attributes to remove from the message.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 RemoveAttributesActivity withNext(String next)
The next activity in the pipeline.
next - The next activity in the pipeline.public String toString()
toString in class ObjectObject.toString()public RemoveAttributesActivity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.