cfdsl.kinesis.Stream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cfdsl Show documentation
Show all versions of cfdsl Show documentation
Java DSL for Amazon CloudFormation templates
The newest version!
package cfdsl.kinesis;
import cfdsl.resource.Resource;
import cfdsl.resource.ResourceBuilder;
/**
* AWS::Kinesis::Stream
* resource type.
*/
public final class Stream extends Resource {
private Stream(Builder b) {
super("AWS::Kinesis::Stream", b);
}
public static Builder of(String logicalName, int shardCount) {
return new Builder(logicalName, shardCount);
}
public static final class Builder extends ResourceBuilder {
private Builder(String logicalName, int shardCount) {
super(logicalName);
addProperty("ShardCount", Integer.toString(shardCount));
}
@Override
public Stream build() {
return null;
}
}
}