public Action withUri(String uri) {
        setUri(uri);
        return this;
    }
<p>
The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource
Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple
Notification Service topic, or the Amazon EventBridge default event bus.
</p>

@param uri
       The extension URI associated to the action point in the extension definition. The URI can be an Amazon
       Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an
       Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appconfig/src/main/java/com/amazonaws/services/appconfig/model/Action.java