Package com.amazonaws.services.iot.model
Class FirehoseAction
- java.lang.Object
-
- com.amazonaws.services.iot.model.FirehoseAction
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class FirehoseAction extends Object implements Serializable, Cloneable
Describes an action that writes data to an Amazon Kinesis Firehose stream.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FirehoseAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.int
hashCode()
void
setDeliveryStreamName(String deliveryStreamName)
The delivery stream name.void
setRoleArn(String roleArn)
The IAM role that grants access to the Amazon Kinesis Firehost 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.
-
-
-
Method Detail
-
setRoleArn
public void setRoleArn(String roleArn)
The IAM role that grants access to the Amazon Kinesis Firehost stream.
- Parameters:
roleArn
- The IAM role that grants access to the Amazon Kinesis Firehost stream.
-
getRoleArn
public String getRoleArn()
The IAM role that grants access to the Amazon Kinesis Firehost stream.
- Returns:
- The IAM role that grants access to the Amazon Kinesis Firehost stream.
-
withRoleArn
public FirehoseAction withRoleArn(String roleArn)
The IAM role that grants access to the Amazon Kinesis Firehost stream.
- Parameters:
roleArn
- The IAM role that grants access to the Amazon Kinesis Firehost stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeliveryStreamName
public void setDeliveryStreamName(String deliveryStreamName)
The delivery stream name.
- Parameters:
deliveryStreamName
- The delivery stream name.
-
getDeliveryStreamName
public String getDeliveryStreamName()
The delivery stream name.
- Returns:
- The delivery stream name.
-
withDeliveryStreamName
public FirehoseAction withDeliveryStreamName(String deliveryStreamName)
The delivery stream name.
- Parameters:
deliveryStreamName
- The delivery stream name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public FirehoseAction clone()
-
-