code: public void unbindInstanceFromSecurityGroup(String instanceId, String securityGroupId) {
          this.unbindInstanceFromSecurityGroup(new UnbindSecurityGroupRequest()
                  .withInstanceId(instanceId).withSecurityGroupId(securityGroupId));
      }
docs: Unbinding the instance from securitygroup.
  
  @param instanceId The id of the instance.
  @param securityGroupId The id of the securitygroup.