@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for connecting a messaging stream to Amazon Kinesis.
| Constructor and Description |
|---|
StreamingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
StreamingConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getDataType()
The data type of the configuration.
|
String |
getResourceArn()
The ARN of the resource in the configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDataType(String dataType)
The data type of the configuration.
|
void |
setResourceArn(String resourceArn)
The ARN of the resource in the configuration.
|
String |
toString()
Returns a string representation of this object.
|
StreamingConfiguration |
withDataType(MessagingDataType dataType)
The data type of the configuration.
|
StreamingConfiguration |
withDataType(String dataType)
The data type of the configuration.
|
StreamingConfiguration |
withResourceArn(String resourceArn)
The ARN of the resource in the configuration.
|
public void setDataType(String dataType)
The data type of the configuration.
dataType - The data type of the configuration.MessagingDataTypepublic String getDataType()
The data type of the configuration.
MessagingDataTypepublic StreamingConfiguration withDataType(String dataType)
The data type of the configuration.
dataType - The data type of the configuration.MessagingDataTypepublic StreamingConfiguration withDataType(MessagingDataType dataType)
The data type of the configuration.
dataType - The data type of the configuration.MessagingDataTypepublic void setResourceArn(String resourceArn)
The ARN of the resource in the configuration.
resourceArn - The ARN of the resource in the configuration.public String getResourceArn()
The ARN of the resource in the configuration.
public StreamingConfiguration withResourceArn(String resourceArn)
The ARN of the resource in the configuration.
resourceArn - The ARN of the resource in the configuration.public String toString()
toString in class ObjectObject.toString()public StreamingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.