@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColumnSelector extends Object implements Serializable, Cloneable, StructuredPojo
Selector of a column from a dataset for profile job configuration. One selector includes either a column name or a regular expression.
| Constructor and Description |
|---|
ColumnSelector() |
| Modifier and Type | Method and Description |
|---|---|
ColumnSelector |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of a column from a dataset.
|
String |
getRegex()
A regular expression for selecting a column from a dataset.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of a column from a dataset.
|
void |
setRegex(String regex)
A regular expression for selecting a column from a dataset.
|
String |
toString()
Returns a string representation of this object.
|
ColumnSelector |
withName(String name)
The name of a column from a dataset.
|
ColumnSelector |
withRegex(String regex)
A regular expression for selecting a column from a dataset.
|
public void setRegex(String regex)
A regular expression for selecting a column from a dataset.
regex - A regular expression for selecting a column from a dataset.public String getRegex()
A regular expression for selecting a column from a dataset.
public ColumnSelector withRegex(String regex)
A regular expression for selecting a column from a dataset.
regex - A regular expression for selecting a column from a dataset.public void setName(String name)
The name of a column from a dataset.
name - The name of a column from a dataset.public String getName()
The name of a column from a dataset.
public ColumnSelector withName(String name)
The name of a column from a dataset.
name - The name of a column from a dataset.public String toString()
toString in class ObjectObject.toString()public ColumnSelector clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.