@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SelectAttributesActivity extends Object implements Serializable, Cloneable, StructuredPojo
Creates a new message using only the specified attributes from the original message.
Constructor and Description |
---|
SelectAttributesActivity() |
Modifier and Type | Method and Description |
---|---|
SelectAttributesActivity |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAttributes()
A list of the attributes to select from the message.
|
String |
getName()
The name of the 'selectAttributes' 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 the attributes to select from the message.
|
void |
setName(String name)
The name of the 'selectAttributes' activity.
|
void |
setNext(String next)
The next activity in the pipeline.
|
String |
toString()
Returns a string representation of this object.
|
SelectAttributesActivity |
withAttributes(Collection<String> attributes)
A list of the attributes to select from the message.
|
SelectAttributesActivity |
withAttributes(String... attributes)
A list of the attributes to select from the message.
|
SelectAttributesActivity |
withName(String name)
The name of the 'selectAttributes' activity.
|
SelectAttributesActivity |
withNext(String next)
The next activity in the pipeline.
|
public void setName(String name)
The name of the 'selectAttributes' activity.
name
- The name of the 'selectAttributes' activity.public String getName()
The name of the 'selectAttributes' activity.
public SelectAttributesActivity withName(String name)
The name of the 'selectAttributes' activity.
name
- The name of the 'selectAttributes' activity.public List<String> getAttributes()
A list of the attributes to select from the message.
public void setAttributes(Collection<String> attributes)
A list of the attributes to select from the message.
attributes
- A list of the attributes to select from the message.public SelectAttributesActivity withAttributes(String... attributes)
A list of the attributes to select 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 the attributes to select from the message.public SelectAttributesActivity withAttributes(Collection<String> attributes)
A list of the attributes to select from the message.
attributes
- A list of the attributes to select 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 SelectAttributesActivity 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 SelectAttributesActivity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.