@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FirehoseAction extends Object implements Serializable, Cloneable, StructuredPojo
Describes an action that writes data to an Amazon Kinesis Firehose stream.
Constructor and Description |
---|
FirehoseAction() |
Modifier and Type | Method and Description |
---|---|
FirehoseAction |
clone() |
boolean |
equals(Object obj) |
String |
getDeliveryStreamName()
The delivery stream name.
|
String |
getRoleArn()
The IAM role that grants access to the Amazon Kinesis Firehost stream.
|
String |
getSeparator()
A character separator that will be used to separate records written to the Firehose stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeliveryStreamName(String deliveryStreamName)
The delivery stream name.
|
void |
setRoleArn(String roleArn)
The IAM role that grants access to the Amazon Kinesis Firehost stream.
|
void |
setSeparator(String separator)
A character separator that will be used to separate records written to the Firehose stream.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FirehoseAction |
withDeliveryStreamName(String deliveryStreamName)
The delivery stream name.
|
FirehoseAction |
withRoleArn(String roleArn)
The IAM role that grants access to the Amazon Kinesis Firehost stream.
|
FirehoseAction |
withSeparator(String separator)
A character separator that will be used to separate records written to the Firehose stream.
|
public void setRoleArn(String roleArn)
The IAM role that grants access to the Amazon Kinesis Firehost stream.
roleArn
- The IAM role that grants access to the Amazon Kinesis Firehost stream.public String getRoleArn()
The IAM role that grants access to the Amazon Kinesis Firehost stream.
public FirehoseAction withRoleArn(String roleArn)
The IAM role that grants access to the Amazon Kinesis Firehost stream.
roleArn
- The IAM role that grants access to the Amazon Kinesis Firehost stream.public void setDeliveryStreamName(String deliveryStreamName)
The delivery stream name.
deliveryStreamName
- The delivery stream name.public String getDeliveryStreamName()
The delivery stream name.
public FirehoseAction withDeliveryStreamName(String deliveryStreamName)
The delivery stream name.
deliveryStreamName
- The delivery stream name.public void setSeparator(String separator)
A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
separator
- A character separator that will be used to separate records written to the Firehose stream. Valid values
are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).public String getSeparator()
A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
public FirehoseAction withSeparator(String separator)
A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
separator
- A character separator that will be used to separate records written to the Firehose stream. Valid values
are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).public String toString()
toString
in class Object
Object.toString()
public FirehoseAction 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.