public class KinesisRecorderConfig
extends java.lang.Object
Constructor and Description |
---|
KinesisRecorderConfig()
Construct an instance of KinesisRecorderConfig which has default values
of maxStorageSize = 5MiB; and a default ClientConfiguration.
|
KinesisRecorderConfig(ClientConfiguration clientConfiguration)
Construct an instance of KinesisRecorderConfig which has default values
of maxStorageSize = 5MiB; and the specified ClientConfiguration.
|
KinesisRecorderConfig(KinesisRecorderConfig other)
Creates a copy of the passed in KinesisRecorderConfig.
|
Modifier and Type | Method and Description |
---|---|
ClientConfiguration |
getClientConfiguration()
Returns the client configuration the Kinesis Recorder will use when
making requests to Amazon Kinesis.
|
long |
getMaxStorageSize() |
java.lang.String |
getPartitionKey()
Returns the partition key.
|
KinesisRecorderConfig |
withMaxStorageSize(long maxStorage)
Sets the max storage in bytes that KinesisRecorder is allowed to use.
|
KinesisRecorderConfig |
withPartitionKey(java.lang.String partKey)
Optionally set partition key.
|
public KinesisRecorderConfig()
public KinesisRecorderConfig(ClientConfiguration clientConfiguration)
clientConfiguration
- The client configuration used when making
requests to Amazon Kinesispublic KinesisRecorderConfig(KinesisRecorderConfig other)
other
- the KinesisRecorderConfig to copy.public KinesisRecorderConfig withPartitionKey(java.lang.String partKey)
partKey
- the partition key.public KinesisRecorderConfig withMaxStorageSize(long maxStorage)
maxStorage
- the maximum storage.public long getMaxStorageSize()
public ClientConfiguration getClientConfiguration()
public java.lang.String getPartitionKey()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.