public SearchPromptsResult withPrompts(java.util.Collection<Prompt> prompts) {
        setPrompts(prompts);
        return this;
    }
<p>
Information about the prompts.
</p>

@param prompts
       Information about the prompts.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchPromptsResult.java