public CreateBotVersionResult addBotVersionLocaleSpecificationEntry(String key, BotVersionLocaleDetails value) {
        if (null == this.botVersionLocaleSpecification) {
            this.botVersionLocaleSpecification = new java.util.HashMap<String, BotVersionLocaleDetails>();
        }
        if (this.botVersionLocaleSpecification.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.botVersionLocaleSpecification.put(key, value);
        return this;
    }
Add a single BotVersionLocaleSpecification entry

@see CreateBotVersionResult#withBotVersionLocaleSpecification
@returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/CreateBotVersionResult.java