public void setStreamSpecification(StreamSpecification streamSpecification) {
        this.streamSpecification = streamSpecification;
    }
<p>
Represents the DynamoDB Streams configuration for the table.
</p>
<note>
<p>
You receive a <code>ValidationException</code> if you try to enable a stream on a table that already has a
stream, or if you try to disable a stream on a table that doesn't have a stream.
</p>
</note>

@param streamSpecification
       Represents the DynamoDB Streams configuration for the table.</p> <note>
       <p>
       You receive a <code>ValidationException</code> if you try to enable a stream on a table that already has a
       stream, or if you try to disable a stream on a table that doesn't have a stream.
       </p>
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/UpdateTableRequest.java