public DescribeIndexResult withEdition(String edition) {
        setEdition(edition);
        return this;
    }
<p>
The Amazon Kendra edition used for the index. You decide the edition when you create the index.
</p>

@param edition
       The Amazon Kendra edition used for the index. You decide the edition when you create the index.
@return Returns a reference to this object so that method calls can be chained together.
@see IndexEdition
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/DescribeIndexResult.java