@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonRedshiftTarget extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an Amazon Redshift target.
Constructor and Description |
---|
AmazonRedshiftTarget() |
Modifier and Type | Method and Description |
---|---|
AmazonRedshiftTarget |
clone() |
boolean |
equals(Object obj) |
AmazonRedshiftNodeData |
getData()
Specifies the data of the Amazon Redshift target node.
|
List<String> |
getInputs()
The nodes that are inputs to the data target.
|
String |
getName()
The name of the Amazon Redshift target.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setData(AmazonRedshiftNodeData data)
Specifies the data of the Amazon Redshift target node.
|
void |
setInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
|
void |
setName(String name)
The name of the Amazon Redshift target.
|
String |
toString()
Returns a string representation of this object.
|
AmazonRedshiftTarget |
withData(AmazonRedshiftNodeData data)
Specifies the data of the Amazon Redshift target node.
|
AmazonRedshiftTarget |
withInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
|
AmazonRedshiftTarget |
withInputs(String... inputs)
The nodes that are inputs to the data target.
|
AmazonRedshiftTarget |
withName(String name)
The name of the Amazon Redshift target.
|
public void setName(String name)
The name of the Amazon Redshift target.
name
- The name of the Amazon Redshift target.public String getName()
The name of the Amazon Redshift target.
public AmazonRedshiftTarget withName(String name)
The name of the Amazon Redshift target.
name
- The name of the Amazon Redshift target.public void setData(AmazonRedshiftNodeData data)
Specifies the data of the Amazon Redshift target node.
data
- Specifies the data of the Amazon Redshift target node.public AmazonRedshiftNodeData getData()
Specifies the data of the Amazon Redshift target node.
public AmazonRedshiftTarget withData(AmazonRedshiftNodeData data)
Specifies the data of the Amazon Redshift target node.
data
- Specifies the data of the Amazon Redshift target node.public List<String> getInputs()
The nodes that are inputs to the data target.
public void setInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
inputs
- The nodes that are inputs to the data target.public AmazonRedshiftTarget withInputs(String... inputs)
The nodes that are inputs to the data target.
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 nodes that are inputs to the data target.public AmazonRedshiftTarget withInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
inputs
- The nodes that are inputs to the data target.public String toString()
toString
in class Object
Object.toString()
public AmazonRedshiftTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.