public ComponentRequest addPropertiesEntry(String key, PropertyRequest value) {
        if (null == this.properties) {
            this.properties = new java.util.HashMap<String, PropertyRequest>();
        }
        if (this.properties.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.properties.put(key, value);
        return this;
    }
Add a single Properties entry

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