public void setStreamName(String streamName) {
    Validator.validate(!Validator.isBlank(streamName), "streamName cannot be blank");
    this.streamName = streamName.trim();
  }
public void setStreamName ( String streamName ) { Validator . validate ( ! Validator . isBlank ( streamName ) , "streamName cannot be blank" ) ; this . streamName = streamName . trim ( ) ; }
Sets streamName for the kinesis stream to which data is to be published.

@param streamName name of the kinesis stream to which data is to be
published.