List of usage examples for com.amazonaws.services.kinesis.model CreateStreamRequest getShardCount
public Integer getShardCount()
The number of shards that the stream will use.
From source file:com.facebook.presto.kinesis.util.MockKinesisClient.java
License:Apache License
@Override public CreateStreamResult createStream(CreateStreamRequest createStreamRequest) throws AmazonServiceException, AmazonClientException { // Setup method to create a new stream: InternalStream stream = new InternalStream(createStreamRequest.getStreamName(), createStreamRequest.getShardCount(), true); this.streams.add(stream); return new CreateStreamResult(); }