@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Union extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a transform that combines the rows from two or more datasets into a single result.
| Constructor and Description |
|---|
Union() |
| Modifier and Type | Method and Description |
|---|---|
Union |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInputs()
The node ID inputs to the transform.
|
String |
getName()
The name of the transform node.
|
String |
getUnionType()
Indicates the type of Union transform.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setInputs(Collection<String> inputs)
The node ID inputs to the transform.
|
void |
setName(String name)
The name of the transform node.
|
void |
setUnionType(String unionType)
Indicates the type of Union transform.
|
String |
toString()
Returns a string representation of this object.
|
Union |
withInputs(Collection<String> inputs)
The node ID inputs to the transform.
|
Union |
withInputs(String... inputs)
The node ID inputs to the transform.
|
Union |
withName(String name)
The name of the transform node.
|
Union |
withUnionType(String unionType)
Indicates the type of Union transform.
|
Union |
withUnionType(UnionType unionType)
Indicates the type of Union transform.
|
public void setName(String name)
The name of the transform node.
name - The name of the transform node.public String getName()
The name of the transform node.
public Union withName(String name)
The name of the transform node.
name - The name of the transform node.public List<String> getInputs()
The node ID inputs to the transform.
public void setInputs(Collection<String> inputs)
The node ID inputs to the transform.
inputs - The node ID inputs to the transform.public Union withInputs(String... inputs)
The node ID inputs to the transform.
NOTE: This method appends the values to the existing list (if any). Use
setInputs(java.util.Collection) or withInputs(java.util.Collection) if you want to override the
existing values.
inputs - The node ID inputs to the transform.public Union withInputs(Collection<String> inputs)
The node ID inputs to the transform.
inputs - The node ID inputs to the transform.public void setUnionType(String unionType)
Indicates the type of Union transform.
Specify ALL to join all rows from data sources to the resulting DynamicFrame. The resulting union
does not remove duplicate rows.
Specify DISTINCT to remove duplicate rows in the resulting DynamicFrame.
unionType - Indicates the type of Union transform.
Specify ALL to join all rows from data sources to the resulting DynamicFrame. The resulting
union does not remove duplicate rows.
Specify DISTINCT to remove duplicate rows in the resulting DynamicFrame.
UnionTypepublic String getUnionType()
Indicates the type of Union transform.
Specify ALL to join all rows from data sources to the resulting DynamicFrame. The resulting union
does not remove duplicate rows.
Specify DISTINCT to remove duplicate rows in the resulting DynamicFrame.
Specify ALL to join all rows from data sources to the resulting DynamicFrame. The resulting
union does not remove duplicate rows.
Specify DISTINCT to remove duplicate rows in the resulting DynamicFrame.
UnionTypepublic Union withUnionType(String unionType)
Indicates the type of Union transform.
Specify ALL to join all rows from data sources to the resulting DynamicFrame. The resulting union
does not remove duplicate rows.
Specify DISTINCT to remove duplicate rows in the resulting DynamicFrame.
unionType - Indicates the type of Union transform.
Specify ALL to join all rows from data sources to the resulting DynamicFrame. The resulting
union does not remove duplicate rows.
Specify DISTINCT to remove duplicate rows in the resulting DynamicFrame.
UnionTypepublic Union withUnionType(UnionType unionType)
Indicates the type of Union transform.
Specify ALL to join all rows from data sources to the resulting DynamicFrame. The resulting union
does not remove duplicate rows.
Specify DISTINCT to remove duplicate rows in the resulting DynamicFrame.
unionType - Indicates the type of Union transform.
Specify ALL to join all rows from data sources to the resulting DynamicFrame. The resulting
union does not remove duplicate rows.
Specify DISTINCT to remove duplicate rows in the resulting DynamicFrame.
UnionTypepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.