public CreateApplicationInstanceRequest withApplicationInstanceIdToReplace(String applicationInstanceIdToReplace) {
        setApplicationInstanceIdToReplace(applicationInstanceIdToReplace);
        return this;
    }
<p>
The ID of an application instance to replace with the new instance.
</p>

@param applicationInstanceIdToReplace
       The ID of an application instance to replace with the new instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-panorama/src/main/java/com/amazonaws/services/panorama/model/CreateApplicationInstanceRequest.java